fix: CI changelog echo breaks on special chars in commit messages
Use heredoc instead of single-quoted echo to write changelog into release notes, preventing shell syntax errors from quotes/pipes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
11565de083
commit
d2c6964fd8
1 file changed
+3
-1
@@ -202,7 +202,9 @@ jobs:
|
||||
echo "" >> release-notes.md
|
||||
echo "| Commit | Description |" >> release-notes.md
|
||||
echo "|--------|-------------|" >> release-notes.md
|
||||
echo '${{ steps.changelog.outputs.changelog }}' >> release-notes.md
|
||||
cat >> release-notes.md << 'CHANGELOG_INLINE_EOF'
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
CHANGELOG_INLINE_EOF
|
||||
fi
|
||||
|
||||
gh release create "${GITHUB_REF_NAME}" \
|
||||
|
||||
Reference in new issue
Block a user