fix: resolve YAML syntax error in release.yml workflow

Fixed invalid multi-line string syntax at line 148 by converting to heredoc.
The quoted multi-line string was breaking YAML parsing. Using heredoc (cat <<EOF)
is the proper way to handle multi-line strings in bash within GitHub Actions.

This resolves the CI failure on main branch.

Concieved by Romuald Członkowski - www.aiadvisors.pl/en

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-10-24 13:45:53 +02:00
parent c52a3dd253
commit c7da0a2430

View File

@@ -142,8 +142,9 @@ jobs:
if [ -z "$PREVIOUS_TAG" ]; then
echo " No previous tag found, this might be the first release"
# Get all commits up to current commit
NOTES="### 🎉 Initial Release
# Get all commits up to current commit - use heredoc for multiline
NOTES=$(cat <<EOF
### 🎉 Initial Release
This is the initial release of n8n-mcp v$CURRENT_VERSION.
@@ -151,7 +152,9 @@ This is the initial release of n8n-mcp v$CURRENT_VERSION.
**Release Statistics:**
- Commit count: $(git rev-list --count HEAD)
- First release setup"
- First release setup
EOF
)
echo "has-notes=true" >> $GITHUB_OUTPUT