From 05e4ed3fc5af1f9284d387473d2fba3ff28bcc0e Mon Sep 17 00:00:00 2001 From: tremor021 Date: Wed, 14 May 2025 12:38:46 +0200 Subject: [PATCH] Update bitmagnet --- ct/alpine-bitmagnet.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ct/alpine-bitmagnet.sh b/ct/alpine-bitmagnet.sh index 43fa5cf..ea95192 100644 --- a/ct/alpine-bitmagnet.sh +++ b/ct/alpine-bitmagnet.sh @@ -63,7 +63,8 @@ function update_script() { curl -fsSL "https://github.com/bitmagnet-io/bitmagnet/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file" tar zxf "$temp_file" --strip-components=1 -C /opt/bitmagnet cd /opt/bitmagnet - $STD go build + VREL=v$RELEASE + $STD go build -ldflags "-s -w -X github.com/bitmagnet-io/bitmagnet/internal/version.GitTag=$VREL" chmod +x bitmagnet [ -f "/opt/.env" ] && cp "/opt/.env" /opt/bitmagnet/ [ -f "/opt/config.yml" ] && cp "/opt/config.yml" /opt/bitmagnet/