Skip to content

Commit 0434749

Browse files
ashwin-antclaude
andauthored
fix: resolve YAML syntax error in create-release-tag workflow (#429)
Replace heredoc with echo statements to fix YAML parsing issue. The unindented heredoc content was breaking out of the literal block scalar, causing `---` to be interpreted as a YAML document separator. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent a3df944 commit 0434749

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/create-release-tag.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ jobs:
5353
' CHANGELOG.md > release_notes.md
5454
5555
# Append install instructions
56-
cat >> release_notes.md << 'EOF'
57-
58-
---
59-
60-
**PyPI:** https://pypi.org/project/claude-agent-sdk/VERSION/
61-
62-
```bash
63-
pip install claude-agent-sdk==VERSION
64-
```
65-
EOF
56+
{
57+
echo ""
58+
echo "---"
59+
echo ""
60+
echo "**PyPI:** https://pypi.org/project/claude-agent-sdk/VERSION/"
61+
echo ""
62+
echo '```bash'
63+
echo "pip install claude-agent-sdk==VERSION"
64+
echo '```'
65+
} >> release_notes.md
6666
6767
# Replace VERSION placeholder
6868
sed -i "s/VERSION/$VERSION/g" release_notes.md

0 commit comments

Comments
 (0)