Skip to content

Commit

Permalink
build.sh: supporting go1.9 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
Shlomi Noach committed May 7, 2018
1 parent 90a28be commit b23f0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function build {
GOOS=$3
GOARCH=$4

if [[ $(go version | egrep "go1[.][012345678]") ]]; then
if ! go version | egrep -q 'go(1[.]9|1[.]1[0-9])' ; then
echo "go version is too low. Must use 1.9 or above"
exit 1
fi
Expand Down

0 comments on commit b23f0a6

Please sign in to comment.