Skip to content

Commit 2c09846

Browse files
committed
Add cleanup instructions to release-notes generation
1 parent 60e1cd3 commit 2c09846

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: SIDECAR_RELEASE_PROCESS.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,19 @@ naming convention `<hostpath-deployment-version>-on-<kubernetes-version>`.
5454
generator](https://github.com/kubernetes/release/tree/master/cmd/release-notes)
5555
1. Generate release notes for the release. Replace arguments with the relevant
5656
information.
57+
* Clean up old cached information (also needed if you are generating release
58+
notes for multiple repos)
59+
```bash
60+
rm -rf /tmp/k8s-repo
61+
```
5762
* For new minor releases on master:
58-
```
63+
```bash
5964
GITHUB_TOKEN=<token> release-notes --discover=mergebase-to-latest
6065
--github-org=kubernetes-csi --github-repo=external-provisioner
6166
--required-author="" --output out.md
6267
```
6368
* For new patch releases on a release branch:
64-
```
69+
```bash
6570
GITHUB_TOKEN=<token> release-notes --discover=patch-to-latest --branch=release-1.1
6671
--github-org=kubernetes-csi --github-repo=external-provisioner
6772
--required-author="" --output out.md

0 commit comments

Comments
 (0)