-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update release note generation #3591
base: master
Are you sure you want to change the base?
Conversation
hack/generate_release_notes.py
Outdated
) | ||
# Since we only want merged PRs, raise an error if there are none. | ||
if len(merged_issues) == 0: | ||
raise ReleaseNoteError(f"no issues found for milestone {m.title}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically we have had operator releases in the past which have no release-note-required
PRs, so technically having no merged issues isn't necessarily an error - but we should probably call it out to the user to ensure they can double-check the results and/or add a disclaimer for users.
This was the case for v1.34.5, as an example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, we should not be using this tooling to generate release notes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It still generates the outline for the release notes, so it's still valuable to run.
- ensure milestone is closed before generating release notes - ensure there are no open PRs in the milestone
56ef75b
to
851be6e
Compare
851be6e
to
5c5f36e
Compare
Description
For PR author
make gen-files
make gen-versions
For PR reviewers
A note for code reviewers - all pull requests must have the following:
kind/bug
if this is a bugfix.kind/enhancement
if this is a a new feature.enterprise
if this PR applies to Calico Enterprise only.