Skip to content

Commit b8eb940

Browse files
Skip upx compression for darwin_arm64 binaries
1 parent 5d61beb commit b8eb940

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ mkdir -p dist/
77
for OS in linux darwin windows
88
do
99
arch_list="amd64"
10-
if [ "${OS}" != "darwin" ]; then
11-
arch_list="386 ${arch_list}"
12-
else
10+
if [ "${OS}" == "darwin" ]; then
1311
arch_list="arm64 ${arch_list}"
12+
else
13+
arch_list="386 ${arch_list}"
1414
fi
1515

1616
for ARCH in ${arch_list}

build-release-binaries

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ echo "...Done"
66
cd dist
77

88
echo "Compressing binaries"
9-
upx --lzma talisman*
9+
upx --lzma talisman_windows* talisman_linux* talisman_darwin_amd64
1010
echo "...Done"
1111

1212
echo "Verifying compressed binaries"
13-
upx -t talisman*
13+
upx -t talisman_windows* talisman_linux* talisman_darwin_amd64
1414
echo "...Done"
1515

1616
echo "Generating checksums for download verification"

0 commit comments

Comments
 (0)