From 04347495b8ff309fb384fbf73749cacc1121b619 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Wed, 17 Dec 2025 17:39:12 -0800 Subject: [PATCH] fix: resolve YAML syntax error in create-release-tag workflow (#429) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/create-release-tag.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/create-release-tag.yml b/.github/workflows/create-release-tag.yml index 47f6c82..c50abab 100644 --- a/.github/workflows/create-release-tag.yml +++ b/.github/workflows/create-release-tag.yml @@ -53,16 +53,16 @@ jobs: ' CHANGELOG.md > release_notes.md # Append install instructions - cat >> release_notes.md << 'EOF' - ---- - -**PyPI:** https://pypi.org/project/claude-agent-sdk/VERSION/ - -```bash -pip install claude-agent-sdk==VERSION -``` -EOF + { + echo "" + echo "---" + echo "" + echo "**PyPI:** https://pypi.org/project/claude-agent-sdk/VERSION/" + echo "" + echo '```bash' + echo "pip install claude-agent-sdk==VERSION" + echo '```' + } >> release_notes.md # Replace VERSION placeholder sed -i "s/VERSION/$VERSION/g" release_notes.md