From 3efdd75d8b5ecb3ca11208852ecd0598055bf3b4 Mon Sep 17 00:00:00 2001 From: Steven Powell <44844360+spowelljr@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:45:19 -0700 Subject: [PATCH] CI: Prevent auto-upgrades to ingress pre-release versions (#19899) --- hack/update/ingress_version/update_ingress_version.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hack/update/ingress_version/update_ingress_version.go b/hack/update/ingress_version/update_ingress_version.go index 2ce4498771d5..8195576c845c 100644 --- a/hack/update/ingress_version/update_ingress_version.go +++ b/hack/update/ingress_version/update_ingress_version.go @@ -106,6 +106,9 @@ func LatestControllerTag(ctx context.Context) (string, error) { continue } vTag := s[1] + if semver.Prerelease(vTag) != "" { + continue + } if semver.Compare(vTag, latest) == 1 { latest = vTag }