Skip to content

Commit 015b2ad

Browse files
committed
fix: stealth
Signed-off-by: Arjun Raja Yogidas <[email protected]>
1 parent f00c767 commit 015b2ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/create-releases.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,15 @@ release_version=${1/v/} # Remove v from tag name
5656
dynamic_binary_name=finch-daemon-${release_version}-linux-${ARCH}.tar.gz
5757
static_binary_name=finch-daemon-${release_version}-linux-${ARCH}-static.tar.gz
5858

59-
make build
59+
VERSION="$1"
60+
make VERSION="$VERSION" build
6061
cp "$LICENSE_FILE" "${OUT_DIR}"
6162
pushd "$OUT_DIR"
6263
tar -czvf "$RELEASE_DIR"/"$dynamic_binary_name" -- *
6364
popd
6465
rm -rf "{$OUT_DIR:?}"/*
6566

66-
STATIC=1 make build
67+
STATIC=1 make VERSION="$VERSION" build
6768
cp "$LICENSE_FILE" "${OUT_DIR}"
6869
pushd "$OUT_DIR"
6970
tar -czvf "$RELEASE_DIR"/"$static_binary_name" -- *

0 commit comments

Comments
 (0)