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:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -146,6 +146,8 @@ jobs:
|
||||
|
||||
- name: Create GitHub Release
|
||||
id: create
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
VERSION="${{ needs.detect-version-change.outputs.new-version }}"
|
||||
IS_PRERELEASE="${{ needs.detect-version-change.outputs.is-prerelease }}"
|
||||
@@ -447,11 +449,7 @@ jobs:
|
||||
echo "No documentation changes to commit"
|
||||
else
|
||||
git add README.md
|
||||
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 commit -m "docs: update version badges to v${{ needs.detect-version-change.outputs.new-version }}"
|
||||
git push
|
||||
echo "✅ Committed documentation updates"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user