You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Download the latest version of the [K8s release notes generator](https://github.com/kubernetes/release/tree/HEAD/cmd/release-notes)
62
+
1. Create a
63
+
[Github personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)
64
+
with `repo:public_repo` access
65
+
1. For patch release, use the script generate_patch_release_notes.sh. Read the instructions at the top of the
66
+
script. The script also creates PRs for each branch.
67
+
1. For new minor releases, follow these steps and replace arguments with the relevant
68
+
information.
69
+
* Clean up old cached information (also needed if you are generating release
70
+
notes for multiple repos)
71
+
```bash
72
+
rm -rf /tmp/k8s-repo
73
+
```
74
+
* For new minor releases on master:
75
+
```bash
76
+
GITHUB_TOKEN=<token> release-notes \
77
+
--discover=mergebase-to-latest \
78
+
--org=kubernetes-csi \
79
+
--repo=external-provisioner \
80
+
--required-author="" \
81
+
--markdown-links \
82
+
--output out.md
83
+
```
84
+
1. Compare the generated output to the new commits for the release to check if
85
+
any notable change missed a release note.
86
+
1. Reword release notes as needed, ideally in the original PRs so that the
87
+
release notes can be regenerated. Make sure to check notes for breaking
88
+
changes and deprecations.
89
+
1. If release is a new major/minor version, create a new `CHANGELOG-<major>.<minor>.md`
90
+
file.
91
+
1. Submit a PR for the CHANGELOG changes.
92
+
1. Submit a PR forREADME changes,in particular, Compatibility, Feature status,
93
+
and any other sections that may need updating.
97
94
1. Make sure that no new PRs have merged in the meantime, and no PRs are in
98
95
flight and soon to be merged.
99
96
1. Create a new release following a previous release as a template. Be sure to selectthe correct
100
97
branch. This requires Github release permissions as required by the prerequisites.
0 commit comments