Skip to content

Commit

Permalink
release notes: also detect alpha releases as pre releases
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer buringerst@vmware.com
  • Loading branch information
sbueringer committed Apr 3, 2024
1 parent 4e3774a commit 8082970
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/tools/release/notes/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Use these as the base of your release notes.
*/

const (
alphaRelease = "ALPHA RELEASE"
betaRelease = "BETA RELEASE"
releaseCandidate = "RELEASE CANDIDATE"
)
Expand Down Expand Up @@ -146,6 +147,8 @@ func releaseTypeFromNewTag(newTagConfig string) string {
return releaseCandidate
case "beta":
return betaRelease
case "alpha":
return betaRelease
}
return ""
}
Expand Down

0 comments on commit 8082970

Please sign in to comment.