From fdd207ad1ec09050663f50c6e4f9a5403376c097 Mon Sep 17 00:00:00 2001 From: Willem de Groot Date: Wed, 7 Dec 2022 16:13:11 +0100 Subject: [PATCH] Fix release script for building on mac --- release.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/release.sh b/release.sh index 71b0bee..7ccccd5 100755 --- a/release.sh +++ b/release.sh @@ -14,16 +14,20 @@ function chronic { exit fi echo -n $'\r' - echo -e " \e[1;32m✔\e[0m $*" + printf " \e[1;32m✔\e[0m $\n*" set -e } # if different arch chronic go build -o ~/bin/corediff -chronic GOARCH=amd64 GOOS=linux go build -o /tmp/corediff +( + GOARC=amd64 + GOOS=linux + chronic go build -o /tmp/corediff + chronic rsync /tmp/corediff ssweb:/data/ecomscan/downloads +) #chronic upx -qq ~/bin/corediff -chronic rsync /tmp/corediff ssweb:/data/ecomscan/downloads >corediff.bin chronic corediff -d corediff.bin -m \