mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-04-05 00:53:07 +00:00
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:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -142,8 +142,9 @@ jobs:
|
|||||||
if [ -z "$PREVIOUS_TAG" ]; then
|
if [ -z "$PREVIOUS_TAG" ]; then
|
||||||
echo "ℹ️ No previous tag found, this might be the first release"
|
echo "ℹ️ No previous tag found, this might be the first release"
|
||||||
|
|
||||||
# Get all commits up to current commit
|
# Get all commits up to current commit - use heredoc for multiline
|
||||||
NOTES="### 🎉 Initial Release
|
NOTES=$(cat <<EOF
|
||||||
|
### 🎉 Initial Release
|
||||||
|
|
||||||
This is the initial release of n8n-mcp v$CURRENT_VERSION.
|
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:**
|
**Release Statistics:**
|
||||||
- Commit count: $(git rev-list --count HEAD)
|
- Commit count: $(git rev-list --count HEAD)
|
||||||
- First release setup"
|
- First release setup
|
||||||
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
echo "has-notes=true" >> $GITHUB_OUTPUT
|
echo "has-notes=true" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user