Skip to content

fix(release): honor skip-release marker only in subject/trailer, not prose#39

Merged
AndreJorgeLopes merged 1 commit into
mainfrom
fix/skip-release-detector
Jun 10, 2026
Merged

fix(release): honor skip-release marker only in subject/trailer, not prose#39
AndreJorgeLopes merged 1 commit into
mainfrom
fix/skip-release-detector

Conversation

@AndreJorgeLopes

Copy link
Copy Markdown
Owner

Hardens the skip-release detector in _parse_conventional_commits.

Bug: it grepped the whole HEAD commit body for the marker, so PR #38 (whose body explains the patch-floor and mentions the marker in prose) silently skipped its own release — no v0.3.0 was cut.

Fix: match the marker only in the subject line (fixed-string) or as a standalone trailer line. Verified: subject-skip ✓, trailer-skip ✓, prose mention ✓ does NOT skip; local _parse on main now returns minor.

Merging this releases v0.3.0 (badges + CHANGELOG + patch-floor from #38, now unblocked).

🤖 Generated with Claude Code

…prose

_parse_conventional_commits grepped the ENTIRE HEAD commit body for the
skip-release marker, so a commit whose prose merely mentioned that marker
(e.g. one explaining the release logic) skipped its own release. PR #38's
feat commit did exactly that and was silently skipped — no v0.3.0 was cut.

Now the marker is honored only when it appears in the subject line or as a
standalone trailer line. Subject and trailer skips still work; mid-sentence
mentions no longer trigger a skip.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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