CI: Prevent auto-upgrades to ingress pre-release versions (#19899)
parent
4e1b8762bd
commit
3efdd75d8b
|
@ -106,6 +106,9 @@ func LatestControllerTag(ctx context.Context) (string, error) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
vTag := s[1]
|
vTag := s[1]
|
||||||
|
if semver.Prerelease(vTag) != "" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if semver.Compare(vTag, latest) == 1 {
|
if semver.Compare(vTag, latest) == 1 {
|
||||||
latest = vTag
|
latest = vTag
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue