fail when go is < 1.12

This commit is contained in:
Shlomi Noach 2019-08-12 08:03:17 +03:00
parent e1c8df7447
commit 143abf05b0

View File

@ -18,11 +18,9 @@ function build {
GOOS=$3
GOARCH=$4
if ! go version | egrep -q 'go(1\.1[234])' ; then
echo "go version must be 1.12 or above"
ok=1
exit 1
fi
echo "Building ${osname} binary"