fix: resolve YAML syntax error in release workflow

- Fix multiline commit message syntax that was breaking YAML parsing
- Add missing GITHUB_TOKEN environment variable for gh CLI commands
- Simplify commit message to avoid YAML parsing issues

The workflow was failing due to unescaped multiline string in git commit command.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-08-02 21:32:27 +02:00
parent 8022ee1f65
commit 7dc938065f

View File

@@ -146,6 +146,8 @@ jobs:
- name: Create GitHub Release - name: Create GitHub Release
id: create id: create
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
VERSION="${{ needs.detect-version-change.outputs.new-version }}" VERSION="${{ needs.detect-version-change.outputs.new-version }}"
IS_PRERELEASE="${{ needs.detect-version-change.outputs.is-prerelease }}" IS_PRERELEASE="${{ needs.detect-version-change.outputs.is-prerelease }}"
@@ -447,11 +449,7 @@ jobs:
echo "No documentation changes to commit" echo "No documentation changes to commit"
else else
git add README.md git add README.md
git commit -m "docs: update version badges to v${{ needs.detect-version-change.outputs.new-version }} git commit -m "docs: update version badges to v${{ needs.detect-version-change.outputs.new-version }}"
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>"
git push git push
echo "✅ Committed documentation updates" echo "✅ Committed documentation updates"
fi fi