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
Copy file name to clipboardExpand all lines: RELEASE.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,23 +18,25 @@ Run `make generate` to re-generate the `testdata/` with above modifications.
18
18
**Note**
19
19
The release PR with the above mentioned change will **fail** the `sanity` test and needs to be merged forcefully. This step is done because the packages which are to be imported in the scaffolded project and the plugin code reside in the same repository. This will ensure that after the release, the plugin will also import the updated version of library helpers.
20
20
21
-
2.Create a release branch with the name vX.Y.x. Example: `git checkout -b v0.0.10`.
21
+
2.For convenience, create a variable for the target version: `VER=v0.0.10`
22
22
23
-
3. Tag the release commit and verify the generated tag.
23
+
3. Create a release branch with the name vX.Y.Z. Example: `git checkout -b $VER`.
24
+
25
+
4. Tag the release commit and verify the generated tag.
24
26
25
27
```
26
-
export VER=v0.0.10
28
+
VER=v0.0.10
27
29
git tag --sign --message "helm-operator-plugin $VER" "$VER"
28
30
git verify-tag --verbose $VER
29
31
```
30
32
31
-
4. Push the release branch and tag:
33
+
5. Push the release branch and tag:
32
34
33
35
```
34
36
git push upstream <release-branch>
35
37
git push upstream $VER
36
38
```
37
39
38
-
5. Make sure that the release notes are updated in the github release page (Github provides an option to auto-generate the notes).
40
+
6. Make sure that the release notes are updated in the github release page (Github provides an option to auto-generate the notes).
39
41
40
-
6. After the release, make sure to run `make test-sanity` from the main branch to ensure that `testdata` is up-to date. If not, create a PR to update the changes.
42
+
7. After the release, make sure to run `make test-sanity` from the main branch to ensure that `testdata` is up-to date. If not, create a PR to update the changes.
0 commit comments