Skip to content

release notes prompt when making release - #397

Merged
RobPruzan merged 1 commit into
mainfrom
release-notes-input
Dec 5, 2026
Merged

RobPruzan merged 1 commit into
mainfrom
release-notes-input

Conversation

@RobPruzan

@RobPruzan RobPruzan commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Adds the ability to set release notes on release, resolves #397

@vercel

vercel Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
pixel Ignored Ignored Preview Dec 5, 2026 8:49am UTC

Request Review

@RobPruzan
RobPruzan marked this pull request as ready for review December 5, 2026 10:06
@RobPruzan
RobPruzan merged commit ebbde08 into main Dec 5, 2026
9 of 10 checks passed

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Devin Review

--title "$VERSION" \
--notes "$(printf 'Install:\n\n```sh\ncurl -fsSL %s | bash\n```\n\nPinned to this version:\n\n```sh\ncurl -fsSL %s | bash\n```\n' \
"${{ steps.publish.outputs.latest }}" "${{ steps.publish.outputs.pinned }}")"
printf %s "$NOTES_INPUT" | jq -Rjs 'if startswith("\"") then (try fromjson catch .) else . end' > /tmp/notes.md

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Parser errors in published release notes

When NOTES_INPUT starts with a quoted feature name followed by prose, jq publishes its parse error instead of the notes. The Pixel release step uses the same fallback.

Learn more

Both workflows accept a free-text notes field from the manual release form. The Pixel release step and the terminal-browser release step first try to decode any input starting with a double quote as JSON. When decoding fails, jq passes the error string to catch, so catch . writes that error rather than the original input. GitHub receives that file as the release body, with the usual npm or install text appended.

Example: Enter "Quick start" now works on Linux. in the release form. The published body begins with an Invalid literal message rather than the sentence.

Recommended fix: In both workflows, save the incoming string with . as $raw before attempting fromjson, then use catch $raw. This preserves the original notes on a parse error without changing how valid JSON-encoded notes are decoded.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

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.

1 participant