From ddbdec1b50879bc8a253f09e774aa251926e1c65 Mon Sep 17 00:00:00 2001 From: Shinya Hayashi Date: Wed, 16 Nov 2022 00:39:10 +0000 Subject: [PATCH] add a command to list the relevant PRs in the release procedure. Signed-off-by: Shinya Hayashi --- RELEASE.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index 4a92d55a..349b7b4a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -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 @@ -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: