*: allow builds with development versions of Go
This commit is contained in:
parent
1ffb243e9a
commit
2362154d99
1 changed files with 3 additions and 2 deletions
5
env
5
env
|
@ -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" )
|
||||
|
|
Reference in a new issue