Skip to content

bin/release keeps the backslashes of release notes - #53

Merged
czj merged 1 commit into
mainfrom
fix-release-changelog-backslash
Nov 7, 2026
Merged

czj merged 1 commit into
mainfrom
fix-release-changelog-backslash

Conversation

@czj

@czj czj commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

bin/release moved the Unreleased notes into the new version's section with String#sub and a replacement string, so Ruby read the backslash sequences of the notes: \` became everything before the match, \0 and \1 the match and its group. A note quoting \ shipped with the head of the CHANGELOG in it, which only a careful read of the dry run showed (super-slim 3.2.2's notes were reworded to get around it).

The replacement is now a block, as the script's other sub calls already are, so the notes are copied as written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@czj
czj enabled auto-merge (squash) November 7, 2026 07:53
@czj
czj merged commit 80eb97e into main Nov 7, 2026
11 checks passed
@czj
czj deleted the fix-release-changelog-backslash branch November 7, 2026 07:54
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