Skip to content

fix(release): changelog extraction never worked — replace the lazy regex with a tested script (#135)#136

Merged
askalf merged 1 commit into
masterfrom
fix/release-notes-extraction
Jul 2, 2026
Merged

fix(release): changelog extraction never worked — replace the lazy regex with a tested script (#135)#136
askalf merged 1 commit into
masterfrom
fix/release-notes-extraction

Conversation

@askalf

@askalf askalf commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Why

Closes #135. Every GH release body since the extractor shipped has been silently empty — the inline lazy regex ([\s\S]*?)(?=\n## \[|$) under the m flag let $ match at the end of EVERY line, so the capture stopped at the blank line under the heading and returned "". The regex still matched, so the no-section fallback never fired either. Verified empty on v0.24.0 / v0.25.3 / v0.26.0 / v0.27.0.

What

After merge I'll backfill the existing release bodies from their CHANGELOG sections.

Tests

Full suite 784 pass / 0 fail / 2 skip; script CLI verified against the real CHANGELOG (extracts the full 0.27.0 section).

@askalf askalf merged commit 4d76a25 into master Jul 2, 2026
5 checks passed
@askalf askalf deleted the fix/release-notes-extraction branch July 2, 2026 01:38
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.

auto-release: changelog extraction has never worked — every release body is empty ($ under the m flag ends the lazy capture at the first blank line)

1 participant