Skip to content
Snippets Groups Projects
Unverified Commit f2eac0e7 authored by Eric Chiang's avatar Eric Chiang Committed by GitHub
Browse files

Merge pull request #1200 from carbin-gun/master

Update check go major version way
parents 218d671a d92c21b9
Branches
Tags
No related merge requests found
...@@ -5,7 +5,7 @@ set -e ...@@ -5,7 +5,7 @@ set -e
VERSION=$( go version ) VERSION=$( go version )
# For development versions of Go, these will be empty. # For development versions of Go, these will be empty.
MAJOR_GOVERSION=$( echo -n "$VERSION" | grep -o 'go1\.[0-9]' || true ) MAJOR_GOVERSION=$( echo -n "$VERSION" | grep -o 'go1\.[0-9]*' || true )
FULL_GOVERSION=$( echo -n "$VERSION" | grep -o 'go1\.[0-9|\.]*' || true ) FULL_GOVERSION=$( echo -n "$VERSION" | grep -o 'go1\.[0-9|\.]*' || true )
# The list of unsupported major go versions. # The list of unsupported major go versions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment