Skip to content

Commit

Permalink
Merge pull request #153 from topolvm/release-procedure-improve
Browse files Browse the repository at this point in the history
add a command to list the relevant PRs in the release procedure.
  • Loading branch information
satoru-takeuchi authored Nov 17, 2022
2 parents 3389cf5 + ddbdec1 commit 1712422
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ Bump version
```

3. Edit `CHANGELOG.md` for the new version ([example][]).
The candidate of relevant PRs can be obtained by the following command.
```
git log --merges --format="%s%x00%b" $(git tag | grep "^v" | sort -V -r | head -n 1)..main | sed -E 's|^Merge pull request #([0-9]*)[^\x0]*\x0(.*)|- \2 ([#\1](https://github.com/topolvm/pvc-autoresizer/pull/\1))|' | tac
```
Please remove PRs which contain changes only to the helm chart.

4. Edit `config/default/kustomization.yaml` and update `newTag` value for the new version.

```console
Expand Down Expand Up @@ -128,6 +134,12 @@ You must change the version of Chart.yaml when making changes to the Helm Chart.
```

4. Edit `charts/pvc-autoresizer/CHANGELOG.md` for the new version.
The candidate of relevant PRs can be obtained by the following command.
```
git log --merges --format="%s%x00%b" $(git tag | grep "^pvc-autoresizer-chart-v" | sort -V -r | head -n 1)..main | sed -E 's|^Merge pull request #([0-9]*)[^\x0]*\x0(.*)|- \2 ([#\1](https://github.com/topolvm/pvc-autoresizer/pull/\1))|' | tac
```
Please select PRs which contain changes to the helm chart.


5. Commit the change and create a pull request:

Expand Down

0 comments on commit 1712422

Please sign in to comment.