From 28144b1f482e8b12661f7217dc5e31c8fa490374 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Mon, 11 Sep 2023 09:35:29 +0200 Subject: [PATCH] Only ensure Go minor version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- hack/ensure-go.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hack/ensure-go.sh b/hack/ensure-go.sh index 7c039a69ae..08186dd58e 100755 --- a/hack/ensure-go.sh +++ b/hack/ensure-go.sh @@ -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() {