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
@echo "generating release notes from $(PREVIOUS_TAG) to $(RELEASE_TAG) with start sha $(START_SHA) and end sha $(END_SHA)"
353
+
@if [ -n"${PRE_RELEASE}" ];then\
354
+
echo":rotating_light: This is a RELEASE CANDIDATE. Use it only for testing purposes. If you find any bugs, file an [issue](https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud/issues/new).">$(RELEASE_NOTES_DIR)/release-notes-$(RELEASE_TAG).md;\
Copy file name to clipboardExpand all lines: docs/book/src/developer/release.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
git push origin v0.2.0-alpha.3
9
9
```
10
10
- Wait for the google cloud build to be finished
11
+
- [Prepare release notes](#prepare-release-notes)
11
12
- Create a draft release with release notes for the tag
12
13
- Tick the prerelease checkbox
13
14
- Download the artifacts once cloud build is finished
@@ -31,6 +32,7 @@
31
32
git push origin v0.1.0
32
33
```
33
34
- Wait for the google cloud build to be finished
35
+
- [Prepare release notes](#prepare-release-notes)
34
36
- Create a draft release with release notes for the tag
35
37
- Perform the [image promotion process](https://github.com/kubernetes/k8s.io/tree/main/k8s.gcr.io#image-promoter):
36
38
- Clone and pull down the latest from [kubernetes/k8s.io](https://github.com/kubernetes/k8s.io)
@@ -49,3 +51,37 @@
49
51
- Publish the drafted release
50
52
51
53
> Note: In the above instructions, `v0.1.0` is the version/tag is being released
54
+
55
+
### Prepare release notes
56
+
57
+
1. If you don't have a GitHub token, create one by going to your GitHub settings, in [Personal access tokens](https://github.com/settings/tokens). Make sure you give the token the `repo` scope.
58
+
59
+
2. Fetch the latest changes from upstream and check out the `main` branch:
60
+
61
+
```sh
62
+
git fetch upstream
63
+
git checkout main
64
+
```
65
+
66
+
3. Generate release notes by running the following commands on the `main` branch:
67
+
68
+
```sh
69
+
export GITHUB_TOKEN=<your GH token>
70
+
export RELEASE_TAG=v1.2.3 # change this to the tag of the release to be cut
71
+
make release-notes
72
+
```
73
+
74
+
4. Review the release notes file generated at `CHANGELOG/<RELEASE_TAG>.md` and make any necessary changes:
75
+
76
+
- Move items out of "Uncategorized" into an appropriate section.
77
+
- Change anything attributed to "k8s-cherrypick-robot" to credit the original author.
78
+
- Fix any typos or other errors.
79
+
- Add the following section with a link to the full diff:
0 commit comments