From 41dd638e8fba457bb717dc7c71a95ef2384b08ef Mon Sep 17 00:00:00 2001 From: jamiecobbett Date: Tue, 11 Aug 2026 17:56:54 +0100 Subject: [PATCH] Explicitly set release title so it matches the tag name --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95412142..1df57ba7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,13 +138,14 @@ jobs: run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git tag v${{ needs.check_version.outputs.version }} - git push origin v${{ needs.check_version.outputs.version }} + TAG="v${{ needs.check_version.outputs.version }}" + git tag "$TAG" + git push origin "$TAG" NOTES="${{ steps.notes.outputs.notes }}" if [ -n "$(echo "$NOTES" | tr -d '[:space:]')" ]; then - gh release create v${{ needs.check_version.outputs.version }} --notes "$NOTES" + gh release create "$TAG" --title "$TAG" --notes "$NOTES" else - gh release create v${{ needs.check_version.outputs.version }} --generate-notes + gh release create "$TAG" --title "$TAG" --generate-notes fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}