Skip to content

fix(ci): let release-please parse back its own release pull request - #18

Merged
andreszorro merged 1 commit into
mainfrom
fix/release-please-title-pattern
Aug 17, 2026
Merged

fix(ci): let release-please parse back its own release pull request#18
andreszorro merged 1 commit into
mainfrom
fix/release-please-title-pattern

Conversation

@andreszorro

Copy link
Copy Markdown
Collaborator

pnpm release:tag tagged nothing and exited successfully with []. The reason was buried in its warnings:

⚠ PR component: undefined does not match configured component: renderizr

Cause

github-release finds the merged release pull request and parses its title to recover the version and component. The configured pattern was:

"pull-request-title-pattern": "chore(release): ${version}"

No ${scope}, no ${component}. So parsing yielded an undefined component, while the package name @formula-monks/renderizr implies a component of renderizr. They never matched, so no release was ever built — silently, with an empty array rather than an error, which is why it looked like it had worked.

Fix

Restores release-please's own default pattern, which round-trips:

"pull-request-title-pattern": "chore${scope}: release${component} ${version}"

The tag stays vX.Y.Zinclude-component-in-tag is false.

Context

v1.1.0 has been tagged and released by hand: https://github.com/FormulaMonks/renderizr/releases/tag/v1.1.0

This is about the next release going through the tool rather than around it. Worth noting the failure mode for whoever hits it next: release:tag reporting [] is not "nothing to release", it is "I could not match the release pull request".

🤖 Generated with Claude Code

`pnpm release:tag` tagged nothing and returned `[]`. The reason was in the
warnings it printed:

    PR component: undefined does not match configured component: renderizr

`github-release` finds the merged release pull request and parses its title to
recover the version and component. The configured pattern was
`chore(release): ${version}`, which contains neither `${scope}` nor
`${component}`, so parsing yielded an undefined component while the package
name `@formula-monks/renderizr` implies `renderizr`. They never matched, so no
release was ever built — silently, with an empty array rather than an error.

Restores release-please's own default pattern, which round-trips. The tag stays
`vX.Y.Z` because `include-component-in-tag` is false.

v1.1.0 was tagged and released by hand in the meantime, so this is about the
next release working through the tool rather than around it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@andreszorro
andreszorro merged commit 966f939 into main Aug 17, 2026
10 checks passed
@upwind-code-us

upwind-code-us Bot commented Aug 17, 2026

Copy link
Copy Markdown

Upwind Upwind Code Scan - ✅ Proceed with Deployment

0 newly introduced vulnerabilities · 0 resolved · 0 total in this PR vs main

View full analysis in Upwind Console

Scan completed in 1m 35s

Scan history (1 scan)
Commit Scanned at New Resolved Net
6fb83d9 < 2026-08-17 02:07 UTC 0 0 0

Last scanned: 6fb83d9 · 2026-08-17 02:07 UTC

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