Skip to content

Commit

Permalink
Merge pull request #2343 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…2341-to-release-1.8

[release-1.8] 🌱 Only ensure Go minor version
  • Loading branch information
k8s-ci-robot authored Sep 11, 2023
2 parents bfe4e72 + 28144b1 commit 2c2e5a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/ensure-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ set -o nounset
set -o pipefail

# MIN_GO_VERSION is the minimum, supported Go version.
MIN_GO_VERSION="go${MIN_GO_VERSION:-1.20.8}"
# Note: Enforce only the minor version as we can't guarantee that
# the images we use in ProwJobs already use the latest patch version.
MIN_GO_VERSION="go${MIN_GO_VERSION:-1.20}"

# Ensure the go tool exists and is a viable version.
verify_go_version() {
Expand Down

0 comments on commit 2c2e5a8

Please sign in to comment.