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