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
|
fi
|
||||||
|
|
||||||
- name: Commit documentation updates
|
- name: Commit documentation updates
|
||||||
|
env:
|
||||||
|
VERSION: ${{ needs.detect-version-change.outputs.new-version }}
|
||||||
run: |
|
run: |
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
@@ -449,7 +451,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${VERSION}"
|
||||||
git push
|
git push
|
||||||
echo "✅ Committed documentation updates"
|
echo "✅ Committed documentation updates"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user