release.sh: notes starting with a dash #33

Merged
mett merged 1 commit from fix/release-body-arg into main 2026-10-29 19:03:07 +01:00
Owner

scripts/release.sh stopped after pushing the v0.1.2 tag: fj read the release notes, which start with - , as an option ("unexpected argument '- ' found"). It now passes them as --body=….

Tests: created the v0.1.2 release by hand with exactly this form (fj release create --tag v0.1.2 --body="$(cat release-notes/v0.1.2.md)" --attach … v0.1.2); bash -n on the script. release-windows.ps1 doesn't pass a body.

🤖 Generated with Claude Code

`scripts/release.sh` stopped after pushing the v0.1.2 tag: `fj` read the release notes, which start with `- `, as an option ("unexpected argument '- ' found"). It now passes them as `--body=…`. **Tests:** created the v0.1.2 release by hand with exactly this form (`fj release create --tag v0.1.2 --body="$(cat release-notes/v0.1.2.md)" --attach … v0.1.2`); `bash -n` on the script. `release-windows.ps1` doesn't pass a body. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Notes starting with "- " were read as an option, so v0.1.2's tag was
pushed but the release wasn't created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mett merged commit ff42a2e887 into main 2026-10-29 19:03:07 +01:00
Sign in to join this conversation.
No description provided.