Skip to content

Commit

Permalink
CI: Prevent auto-upgrades to ingress pre-release versions (#19899)
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr authored Nov 1, 2024
1 parent 4e1b876 commit 3efdd75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/update/ingress_version/update_ingress_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3efdd75

Please sign in to comment.