From c2bd91acfe059660ab8f9b0df8855e583cacb968 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:13:47 +0100 Subject: [PATCH 1/2] dev-docs: document minor release Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- dev-docs/release.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/dev-docs/release.md b/dev-docs/release.md index ddfc01c93d..49ada5c0cc 100644 --- a/dev-docs/release.md +++ b/dev-docs/release.md @@ -2,6 +2,34 @@ # Minor +1. Ensure all needed PRs were were merged. + +2. Export the release you want to make: + + ```sh + export REL_VER=v0.1.0 + export CUR_VER="$(echo $REL_VER | awk -F. -v OFS=. '{$NF -= 1 ; print}')" + echo "Releasing $CUR_VER -> $REL_VER" + ``` +3. Create a new temporary branch for the relese: + + ```sh + git switch -c "tmp/$REL_VER" + git push + ``` + +4. Trigger the release workflow + + ```sh + gh workflow run release.yml --ref $(git rev-parse --abbrev-ref HEAD) -f kind=minor -f version="$REL_VER" + ``` +5. Review the release notes, test the binary artifact. + +6. Review and merge the auto-generated update PR for main. + +7. Publish the GitHub release. + +8. Check that the release publish action succeeds. # Patch @@ -12,7 +40,6 @@ ```sh export REL_VER=v0.1.1 export CUR_VER="$(echo $REL_VER | awk -F. -v OFS=. '{$NF -= 1 ; print}')" - echo "Releasing $CUR_VER -> $REL_VER" ``` 3. Checkout the current release branch: @@ -36,3 +63,5 @@ 6. Review the release notes, test the binary artifact. 7. Publish the GitHub release. + +8. Check that the release publish action succeeds. From 7ca15bc121a06d3465a91538893919f28258c279 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:36:31 +0100 Subject: [PATCH 2/2] release: fix release note template Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release.yml b/.github/release.yml index e9571a498b..caa78700bb 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -17,4 +17,4 @@ changelog: - bug fix - title: 🔧 Other changes labels: - - "*" + - changelog