fix: resolve YAML syntax error in release.yml workflow

Fixed invalid multi-line string syntax at line 148 that was breaking
YAML parsing and blocking CI on main branch.

Changed from quoted multi-line string to heredoc (cat <<EOF) which is
the proper way to handle multi-line strings in bash within GitHub Actions.

Error: "You have an error in your yaml syntax on line 148"
Root cause: Multi-line bash string using quotes breaks YAML parsing
Resolution: Use heredoc for multi-line strings in bash scripts

This resolves CI failure: https://github.com/czlonkowski/n8n-mcp/actions/runs/18777697750

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:49:39 +02:00
parent 56114f041b
commit 952a97ef73

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