Build scripts: support building from a tag/commit

This commit is contained in:
SChernykh
2025-07-05 23:13:52 +02:00
parent 758b55f354
commit 2822c6abb5
28 changed files with 69 additions and 57 deletions

View File

@@ -1,6 +1,11 @@
#!/bin/sh
set -e
cd /p2pool
git fetch --jobs=$(nproc)
git checkout $3
git submodule update --recursive --jobs $(nproc)
export TZ=UTC0
CURRENT_DATE=$(date -u -d @$2 +"%Y-%m-%d")