Merge pull request #12753 from spowelljr/hardCodeGoVersion

Directly code golang version to update to
pull/12656/head
Steven Powell 2021-10-20 16:48:10 -07:00 committed by GitHub
commit d72d87f2e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -22,7 +22,7 @@ if (($# < 1)); then
exit 1
fi
VERSION_TO_INSTALL=$(grep '^GO_VERSION' Makefile | awk '{ print $3 }')
VERSION_TO_INSTALL=1.17.2
INSTALL_PATH=${1}
function current_arch() {

View File

@ -118,6 +118,11 @@ var (
`GO_K8S_VERSION_PREFIX \?= v1.*`: `GO_K8S_VERSION_PREFIX ?= {{.K8SVersion}}`,
},
},
"hack/jenkins/installers/check_install_golang.sh": {
Replace: map[string]string{
`VERSION_TO_INSTALL=.*`: `VERSION_TO_INSTALL={{.StableVersion}}`,
},
},
}
// PR data