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 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*"