Skip to content

fix(release): collapse double blank line after Unreleased heading#114

Merged
zfarrell merged 1 commit into
mainfrom
fix/changelog-blank-line
Jun 16, 2026
Merged

fix(release): collapse double blank line after Unreleased heading#114
zfarrell merged 1 commit into
mainfrom
fix/changelog-blank-line

Conversation

@zfarrell

Copy link
Copy Markdown
Contributor

update_changelog.py left two blank lines between ## [Unreleased] and the new version section (the \s*\n capture already consumed the existing blank line, then the lambda added another). Normalize the heading to a single blank-line separator and cover it in the existing tests. This was the changelog nit flagged on #112.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Correct fix. The normalized replacement collapses the double blank line, and the tests cover both the empty and populated Unreleased branches.

@zfarrell zfarrell merged commit 6790ab1 into main Jun 16, 2026
4 checks passed
@zfarrell zfarrell deleted the fix/changelog-blank-line branch June 16, 2026 16:59
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