Skip to content

Commit

Permalink
Use v1.99.0 as tag for the kotsadm image
Browse files Browse the repository at this point in the history
  • Loading branch information
adejanovski committed Dec 5, 2023
1 parent 2e6b802 commit c43f07c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kotsadm/version/kotsadm_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ func KotsadmTag(registryConfig types.RegistryConfig) string {
func KotsadmTagForVersionString(kotsVersion string) string {
version, err := semver.NewVersion(kotsVersion)
if err != nil {
return "alpha"
return "v1.99.0"
}

if strings.Contains(version.Prerelease(), "dirty") {
return "alpha"
return "v1.99.0"
}

if !strings.HasPrefix(kotsVersion, "v") {
Expand Down

0 comments on commit c43f07c

Please sign in to comment.