🐛 Release notes for rc0 shall be generated as other RC builds#13301
🐛 Release notes for rc0 shall be generated as other RC builds#13301irapandey wants to merge 1 commit intokubernetes-sigs:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hey @chandankumar4 - PTAL |
|
/area release |
|
LGTM label has been added. DetailsGit tree hash: 8aaf1118256d83eae90c5a23568646d1d768d8df |
|
/assign @vincepri |
| } else if len(newTag.Pre) == 2 && newTag.Pre[0].VersionStr == "rc" && newTag.Pre[1].VersionNum >= 1 { | ||
| // for the second or later RCs, we use the release branch since we cut this branch with the first RC | ||
| } else if len(newTag.Pre) == 2 && newTag.Pre[0].VersionStr == "rc" { | ||
| // for all RCs (including rc.0), we use the release branch so notes are generated |
There was a problem hiding this comment.
But this means we have to push the release branch before you can generate the release notes?
But the release branch and the release tag is only created by the release action after we merge the PR with the release notes?
There was a problem hiding this comment.
I had a similar concern but I wasn't familiar with the release flow - Thanks for the insight.
I suppose this opens a discussion, looping in @chandankumar4
There was a problem hiding this comment.
The bug arose with generation of release notes for v1.10.0-rc.0 - This issue was added in the improvement board for release 1.13
What this PR does / why we need it:
The release notes for first RC builds i.e. rc0 is generated by comparing to main which has led to issues in past. This PR modifies that to generate the release notes for rc0 the same as the rest of the RC builds.
Computing diff between tags/v1.9.0 and heads/release-1.10
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #12277
/area release
/area testing