Renamed files

This commit is contained in:
SChernykh
2025-07-05 19:39:04 +02:00
parent a01545e42c
commit 758b55f354
34 changed files with 0 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
# Example usage: ./build.sh v4.8.1
cd "$(dirname "$0")"
[ ! -f "p2pool.tar" ] && tar -f p2pool.tar -c ../../cmake -c ../../external -c ../../src -c ../../CMakeLists.txt -c ../../LICENSE -c ../../README.md
docker build --build-arg P2POOL_VERSION=$1 --build-arg BUILD_TIMESTAMP="$(git show --no-patch --format=%ct $1)" -t p2pool_macos_x64_build .
docker create --name p2pool_macos_x64_build_container p2pool_macos_x64_build:latest
docker cp p2pool_macos_x64_build_container:/p2pool/build/p2pool-$1-macos-x64.tar.gz ../p2pool-$1-macos-x64.tar.gz
docker rm p2pool_macos_x64_build_container
docker image rm -f p2pool_macos_x64_build
rm p2pool.tar