Skip to content

Commit

Permalink
Fix Darwin sha256 sum
Browse files Browse the repository at this point in the history
  • Loading branch information
fcharlie committed May 30, 2020
1 parent 6f2da9b commit 85f76f4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,14 @@ GO111MODULE=on go get github.com/balibuild/bali/cmd/bali
echo -e "build TunnelSSH \\x1b[32m${TOPLEVEL}\\x1b[0m"
cd "$TOPLEVEL"
bali -z
sha256sum *.tar.gz

SHACMD='sha256sum'

case "$(uname -s)" in
*Darwin*)
SHACMD='shasum -a 256'
esac


$SHACMD *.tar.gz
echo -e "\\x1b[32mbuild TunnelSSH success\\x1b[0m"

0 comments on commit 85f76f4

Please sign in to comment.