From eb38d4538fb5bef5b2e8ddf181877d089928e57a Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 8 Nov 2024 18:38:50 +0100 Subject: [PATCH 1/2] .github: remember to sync tags The gh repo sync, used by our internal cronjob, does not sync tags, for details see . Signed-off-by: Joachim Wiberg --- .github/CHECKLIST.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/CHECKLIST.md b/.github/CHECKLIST.md index 905455673..69f7622a6 100644 --- a/.github/CHECKLIST.md +++ b/.github/CHECKLIST.md @@ -33,3 +33,4 @@ Releases - Easy to forget adaptations/hacks in customer repos -- may need Infix change/support - Ensure the markdown link for the release diff is updated - Ensure subrepos are tagged (can be automated, see kernelkit/infix#393) + - Sync tags for all repo. sync activities From 23e24635fec984af8ca6025f3375fed9e4d0920f Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 8 Nov 2024 18:41:17 +0100 Subject: [PATCH 2/2] .github: create new discussion only on GA releases Signed-off-by: Joachim Wiberg --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6649b8dbb..6a34db635 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,12 +116,14 @@ jobs: ver=${GITHUB_REF#refs/tags/} fi echo "ver=${ver}" >> $GITHUB_OUTPUT + echo "cat=" >> $GITHUB_OUTPUT if echo $ver | grep -qE 'v[0-9.]+(-alpha|-beta|-rc)[0-9]*'; then echo "pre=true" >> $GITHUB_OUTPUT echo "latest=false" >> $GITHUB_OUTPUT elif echo $ver | grep -qE '^v[0-9.]+\.[0-9.]+(\.[0-9]+)?$'; then echo "pre=false" >> $GITHUB_OUTPUT echo "latest=true" >> $GITHUB_OUTPUT + echo "cat=Releases" >> $GITHUB_OUTPUT else echo "pre=false" >> $GITHUB_OUTPUT echo "latest=false" >> $GITHUB_OUTPUT @@ -151,7 +153,7 @@ jobs: name: Infix ${{ github.ref_name }} prerelease: ${{ steps.rel.outputs.pre }} makeLatest: ${{ steps.rel.outputs.latest }} - discussionCategory: Releases + discussionCategory: ${{ steps.rel.outputs.cat }} bodyFile: release.md artifacts: "*.tar.gz*"