fix: resolve YAML syntax error in release workflow
- Fix GitHub Actions expression in shell script by using env variable - Prevents YAML parsing error on line 452 - Ensures workflow can execute properly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -441,6 +441,8 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Commit documentation updates
|
||||
env:
|
||||
VERSION: ${{ needs.detect-version-change.outputs.new-version }}
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
@@ -449,7 +451,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 }}"
|
||||
git commit -m "docs: update version badges to v${VERSION}"
|
||||
git push
|
||||
echo "✅ Committed documentation updates"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user