Skip to content

Commit

Permalink
Fix release script for building on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
gwillem committed Dec 7, 2022
1 parent d5383cc commit fdd207a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit fdd207a

Please sign in to comment.