Skip to content

Commit

Permalink
CAPZ v25.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
njuettner committed Jun 27, 2024
1 parent f7ec204 commit 90f6c49
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions releases_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func findReleases(provider string, archived bool) ([]v1alpha1.Release, error) {
if err != nil {
return nil, microerror.Mask(err)
}
if strings.Contains(release.Name, "azure") {
if strings.Contains(release.Name, "azure") || strings.Contains(release.Name, "capa") {
parts := strings.Split(release.Name, "-")
release.Name = "v" + parts[len(parts)-1] //
}
Expand Down Expand Up @@ -226,9 +226,13 @@ func Test_Releases(t *testing.T) {
provider: "azure",
name: "case 2: azure releases are valid",
},
{
provider: "capa",
name: "case 3: capa releases are valid",
},
{
provider: "kvm",
name: "case 3: kvm releases are valid",
name: "case 4: kvm releases are valid",
},
}

Expand Down

0 comments on commit 90f6c49

Please sign in to comment.