display version under macos as well

Signed-off-by: Leo Chen <leo@harmony.one>
pull/89/head
Leo Chen 6 years ago
parent 720e8d352d
commit 36e164ff7a
  1. 3
      go_executable_build.sh

@ -61,6 +61,9 @@ function build_only
if [ "$(uname -s)" == "Linux" ]; then if [ "$(uname -s)" == "Linux" ]; then
$BINDIR/$bin -version $BINDIR/$bin -version
fi fi
if [ "$(uname -s)" == "Darwin" -a "$GOOS" == "darwin" ]; then
$BINDIR/$bin -version
fi
done done
$MD5 $BINDIR/* > $BINDIR/md5sum.txt 2> /dev/null $MD5 $BINDIR/* > $BINDIR/md5sum.txt 2> /dev/null

Loading…
Cancel
Save