Skip to content

Commit 2b83929

Browse files
perdasilvaporridge
authored andcommitted
Update RELEASE.md
Co-authored-by: Marcin Owsiany <[email protected]> Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent ddc813e commit 2b83929

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

RELEASE.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,25 @@ Run `make generate` to re-generate the `testdata/` with above modifications.
1818
**Note**
1919
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.
2020

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`
2222

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.
2426

2527
```
26-
export VER=v0.0.10
28+
VER=v0.0.10
2729
git tag --sign --message "helm-operator-plugin $VER" "$VER"
2830
git verify-tag --verbose $VER
2931
```
3032

31-
4. Push the release branch and tag:
33+
5. Push the release branch and tag:
3234

3335
```
3436
git push upstream <release-branch>
3537
git push upstream $VER
3638
```
3739

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).
3941

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

Comments
 (0)