Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#10369 from sbueringer/pr-sup-alpha
Browse files Browse the repository at this point in the history
🌱 release notes: also detect alpha releases as pre releases
  • Loading branch information
k8s-ci-robot authored Apr 4, 2024
2 parents 4031917 + dcb9977 commit d71983b
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 alphaRelease
}
return ""
}
Expand Down

0 comments on commit d71983b

Please sign in to comment.