From 44b1bc01af18da5f30920ac66dd87ed76c4119ea Mon Sep 17 00:00:00 2001 From: tremor021 Date: Wed, 14 May 2025 12:37:52 +0200 Subject: [PATCH] Update bitmagnet --- install/alpine-bitmagnet-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/alpine-bitmagnet-install.sh b/install/alpine-bitmagnet-install.sh index 092f341..ccdf255 100644 --- a/install/alpine-bitmagnet-install.sh +++ b/install/alpine-bitmagnet-install.sh @@ -40,7 +40,8 @@ temp_file=$(mktemp) 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 $STD su - postgres -c "psql -c 'CREATE DATABASE bitmagnet;'" echo "${RELEASE}" >/opt/bitmagnet_version.txt