Skip to content

Commit 0a8427b

Browse files
Merge pull request #1898 from yiannistri/update-release-steps
docs: Adjust release steps
2 parents 7ded989 + cafae71 commit 0a8427b

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

docs/release-v2.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ This document describes the new release process for Turtles.
1010

1111
We maintain 3 release branches for Turtles, one for each of the minor versions of Rancher that is under active maintenance, at any given point. This allows us to create new Turtles releases for each of the release branches as required for bug fixes and security patches. The process of cutting a new release is essentially the following:
1212
- [Create a new tag for the release](#create-a-new-tag-for-the-release)
13+
- [Write release description for non-developers](#write-release-description-for-non-developers)
1314
- [Update `rancher/charts` repository](#update-ranchercharts-repository)
1415
- [Update `rancher/rancher` repository](#update-rancherrancher-repository)
15-
- [Write release description for non-developers](#write-release-description-for-non-developers)
1616
- [Rancher Turtles Community Documentation](#rancher-turtles-community-documentation) (required only when cutting minor/major versions)
1717
- [Create a JIRA ticket for syncing Turtles Community Docs with Product Docs](#create-a-jira-ticket-for-syncing-turtles-community-docs-with-product-docs) (required only when cutting minor/major versions)
1818

@@ -65,6 +65,12 @@ git clone [email protected]:rancher/turtles.git
6565
git push upstream examples/${RELEASE_TAG}
6666
```
6767

68+
### Write release description for non-developers
69+
70+
Turtles release notes are automatically generated based on the commits that are published with the new version. However, these release notes may also include changes from older versions of Turtles, making it difficult for users to understand what has changed between the new version and the previous minor version. If that is the case, the generated release notes need to be deleted and new release notes need to be regenerated by selecting the previous minor version. For example, if the new release is `v0.25.0` then select `v0.24.0` as the previous tag rather than `Auto`, in the GitHub UI when editing the new release. While editing the release notes, the new release should also be marked as latest, if it is not an `rc` release.
71+
72+
These commit messages are usually hard to understand for those that are not very familiar with the project and we must add a "human-readable" description of what the release brings at the beginning of release notes. [This](https://github.com/rancher/turtles/releases/tag/v0.13.0) can be used for reference. If the new release includes breaking changes or requires any sort of manual steps from the user, make sure these are clearly stated at the top of the release notes.
73+
6874
### Update `rancher/charts` repository
6975

7076
**Warning**: Before updating `rancher/charts` repository, ensure that the previous [step](#create-a-new-tag-for-the-release) has created a new GitHub release for the tag. This release must include the Helm chart archive file in its assets (typically named `rancher-turtles-${RELEASE_TAG}.tgz`).
@@ -101,25 +107,10 @@ This part of the release is also automated via a GitHub Actions workflow, that n
101107
102108
Once this workflow has finished, a new PR should have been created in the `rancher/rancher` repository that updates the selected branch with the new Turtles version. You need to review and merge this PR. When this PR gets merged, you will have completed the process of releasing a new version of Turtles and including it in an upcoming version of Rancher.
103109
104-
### Write release description for non-developers
105-
106-
Turtles release notes are automatically generated based on the commits that are published with the new version.
107-
108-
These commit messages are usually hard to understand for those that are not very familiar with the project and we must add a "human-readable" description of what the release brings at the beginning of release notes. [This](https://github.com/rancher/turtles/releases/tag/v0.13.0) can be used for reference.
109-
110110
### Rancher Turtles Community Documentation
111111
112112
**Note**: This step is required only when cutting minor/major versions.
113113
114-
#### Update component versions in documentation
115-
116-
Before publishing a new version of the documentation, component versions used in the documentation must be updated.
117-
118-
1. Navigate to the Rancher Turtles Docs repository: [rancher/turtles-docs](https://github.com/rancher/turtles-docs)
119-
2. Go to `Actions` and start a new run of `Update Component Versions`.
120-
3. Look up the correct component versions from the [rancher/turtles](https://github.com/rancher/turtles) repository and fill them into the input fields. If any input fields are left blank, the workflow will retain the currently documented versions for those components.
121-
4. This will generate a new PR in the same repository that updates the documentation with the specified versions.
122-
123114
#### Generate changelog from Turtles release notes
124115
125116
Before publishing a new version of the documentation, a new [Changelog](https://turtles.docs.rancher.com/turtles/next/en/changelogs/index.html) must be generated to include the new release.

0 commit comments

Comments
 (0)