Skip to content

Commit

Permalink
Merge pull request #10379 from k8s-infra-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-10369-to-release-1.7

[release-1.7] 🌱 release notes: also detect alpha releases as pre releases
  • Loading branch information
k8s-ci-robot committed Apr 4, 2024
2 parents 3e2b240 + adcd24e commit 5c6d929
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 5c6d929

Please sign in to comment.