Skip to content

Fix release workflow: use --notes-file to avoid shell interpretation of CHANGELOG content#350

Merged
rajbos merged 2 commits intomainfrom
copilot/fix-release-workflow-error
Mar 3, 2026
Merged

Fix release workflow: use --notes-file to avoid shell interpretation of CHANGELOG content#350
rajbos merged 2 commits intomainfrom
copilot/fix-release-workflow-error

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

Release workflow fails because CHANGELOG content passed via --notes "${{ ... }}" gets shell-interpolated, causing words like "Code", "VSCodium", "Cursor" to be executed as commands.

Changes

  • Write extracted release notes to /tmp/release_notes.md instead of a GITHUB_OUTPUT variable
  • Use gh release create --notes-file /tmp/release_notes.md instead of --notes with inline expansion
# Before: content gets shell-interpreted
gh release create "$TAG" \
  --notes "${{ steps.release_notes.outputs.notes }}"

# After: content read from file, no shell interpretation
gh release create "$TAG" \
  --notes-file /tmp/release_notes.md

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…retation of CHANGELOG content

Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix release workflow command not found errors Fix release workflow: use --notes-file to avoid shell interpretation of CHANGELOG content Mar 3, 2026
@rajbos rajbos marked this pull request as ready for review March 3, 2026 15:49
@rajbos rajbos merged commit 1220aff into main Mar 3, 2026
@rajbos rajbos deleted the copilot/fix-release-workflow-error branch March 3, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants