*: allow builds with development versions of Go

This commit is contained in:
Eric Chiang 2016-06-03 11:19:19 -07:00
parent 1ffb243e9a
commit 2362154d99

5
env
View file

@ -1,5 +1,6 @@
MAJOR_GOVERSION=$( go version | grep -o 'go1\.[0-9]')
FULL_GOVERSION=$( go version| grep -o 'go1\.[0-9|\.]*' )
# For development versions of Go, these will be empty.
MAJOR_GOVERSION=$( go version | grep -o 'go1\.[0-9]' || true)
FULL_GOVERSION=$( go version| grep -o 'go1\.[0-9|\.]*' || true)
# The list of unsupported major go versions.
UNSUPPORTED=( "go1.0" "go1.1" "go1.2" "go1.3" "go1.4" )