fix goOS version and check for v1.12.8 by default

This commit is contained in:
openoms 2019-09-01 23:43:43 +01:00
parent a004aef3ac
commit 99aa2b9af8
2 changed files with 3 additions and 3 deletions

View file

@ -28,13 +28,13 @@ if [ ${#GOPATH} -eq 0 ]; then
fi
# make sure go is installed
goVersion="1.11"
goVersion="1.12.8"
echo "### Check Framework: GO ###"
goInstalled=$(go version 2>/dev/null | grep -c 'go')
if [ ${goInstalled} -eq 0 ];then
goVersion="1.12.8"
if [ ${isARM} -eq 1 ] ; then
goOSversion="armv7l"
goOSversion="armv6l"
fi
if [ ${isAARCH64} -eq 1 ] ; then
goOSversion="arm64"

View file

@ -19,7 +19,7 @@ goInstalled=$(go version 2>/dev/null | grep -c 'go')
if [ ${goInstalled} -eq 0 ];then
goVersion="1.12.8"
if [ ${isARM} -eq 1 ] ; then
goOSversion="armv7l"
goOSversion="armv6l"
fi
if [ ${isAARCH64} -eq 1 ] ; then
goOSversion="arm64"