-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Sync up all release note related docs with the latest process/procedures #23939
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ Documentation for other releases can be found at | |
- [Life of a Pull Request](#life-of-a-pull-request) | ||
- [Before sending a pull request](#before-sending-a-pull-request) | ||
- [Release Notes](#release-notes) | ||
- [Reviewing pre-release notes](#reviewing-pre-release-notes) | ||
- [Visual overview](#visual-overview) | ||
- [Other notes](#other-notes) | ||
- [Automation](#automation) | ||
|
@@ -73,12 +74,34 @@ The following will save time for both you and your reviewer: | |
|
||
## Release Notes | ||
|
||
1. Your PR title is the **release note** you want published at release time. | ||
1. Release note labels are only needed on master branch PRs. | ||
This section applies only to pull requests on the master branch. | ||
|
||
1. All pull requests are initiated with a `release-note-label-needed` label. | ||
1. For a PR to be ready to merge, the `release-note-label-needed` label must be removed and one of the other `release-note-*` labels must be added. | ||
1. `release-note-none` is a valid option if the PR does not need to be mentioned | ||
at release time. | ||
1. The PR title is the **release note** you want published at release time. | ||
* NOTE: PR titles are mutable and should reflect a release note friendly | ||
message for any `release-note-*` labeled PRs. | ||
|
||
The only exception to these rules is when a PR is not a cherry-pick and is | ||
targeted directly to the non-master branch. In this case, a `release-note-*` | ||
label is optional (and not enforced). | ||
|
||
### Reviewing pre-release notes | ||
|
||
**NOTE: THIS TOOLING IS NOT YET AVAILABLE, BUT COMING SOON!** | ||
|
||
At any time, you can see what the release notes will look like on any branch. | ||
|
||
``` | ||
$ git pull https://github.com/kubernetes/release | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since this repo is currently empty, should we wait to put in instructions until the tool actually exists? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Qualified with COMING SOON. I'm attempting to optimize the fact that every little change to a doc seems to take days or longer due to long test/queue cycles coupled with flakes and retries... sigh. |
||
$ RELNOTES=$PWD/release/relnotes | ||
$ cd /to/your/kubernetes/repo | ||
$ $RELNOTES -man # for details on how to use the tool | ||
# Show release notes from the last release on a branch to HEAD | ||
$ $RELNOTES --raw --branch=master | ||
``` | ||
|
||
## Visual overview | ||
|
||
|
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.
https://github.com/kubernetes/contrib/pull/738/files#diff-7294a858e5f70293980043d7fe211686R64 is a munger that should enforce this (as best we can).....