Skip to content

fix(ci): use default release-please title pattern variables#178

Merged
buremba merged 1 commit into
mainfrom
fix/release-please-title-pattern
Apr 11, 2026
Merged

fix(ci): use default release-please title pattern variables#178
buremba merged 1 commit into
mainfrom
fix/release-please-title-pattern

Conversation

@buremba
Copy link
Copy Markdown
Member

@buremba buremba commented Apr 11, 2026

Fix the title pattern so release-please actually applies it. Evaluates to chore(main): release X.Y.Z for single-component root packages.

release-please v4 warns and falls back to the default title when
the custom pull-request-title-pattern is missing ${scope} and
${component} placeholders. Use the canonical pattern
`chore${scope}: release${component} ${version}` which evaluates
to `chore(main): release 3.1.2` for the single-component root
package and matches the format of the old tagged release PRs in
history.
@buremba buremba merged commit 26709e3 into main Apr 11, 2026
10 checks passed
@buremba buremba deleted the fix/release-please-title-pattern branch April 11, 2026 00:23
buremba added a commit that referenced this pull request Apr 16, 2026
Without an explicit title pattern, release-please v4 generates
"chore: release main" and the PR title carries no ${component}.
When the PR is merged, createReleases then fails its post-merge
match check:

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

so the tag + GitHub release are never cut. The candidate-PR phase
then aborts with "There are untagged, merged release PRs outstanding",
blocking every subsequent release until the label is manually fixed.

That regression was introduced in #179 (dropped the pattern added in
#178). v3.3.0 and v3.4.0 both required a manual recovery (tag + release
+ relabel + workflow_dispatch publish). Restore the canonical pattern
so release-please produces titles like "chore(main): release 3.4.1"
which it can parse back after merge.
buremba added a commit that referenced this pull request Apr 16, 2026
Without an explicit title pattern, release-please v4 generates
"chore: release main" and the PR title carries no ${component}.
When the PR is merged, createReleases then fails its post-merge
match check:

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

so the tag + GitHub release are never cut. The candidate-PR phase
then aborts with "There are untagged, merged release PRs outstanding",
blocking every subsequent release until the label is manually fixed.

That regression was introduced in #179 (dropped the pattern added in
#178). v3.3.0 and v3.4.0 both required a manual recovery (tag + release
+ relabel + workflow_dispatch publish). Restore the canonical pattern
so release-please produces titles like "chore(main): release 3.4.1"
which it can parse back after merge.
buremba added a commit that referenced this pull request Apr 16, 2026
…#188)

* fix(ci): restore release-please pull-request-title-pattern

Without an explicit title pattern, release-please v4 generates
"chore: release main" and the PR title carries no ${component}.
When the PR is merged, createReleases then fails its post-merge
match check:

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

so the tag + GitHub release are never cut. The candidate-PR phase
then aborts with "There are untagged, merged release PRs outstanding",
blocking every subsequent release until the label is manually fixed.

That regression was introduced in #179 (dropped the pattern added in
#178). v3.3.0 and v3.4.0 both required a manual recovery (tag + release
+ relabel + workflow_dispatch publish). Restore the canonical pattern
so release-please produces titles like "chore(main): release 3.4.1"
which it can parse back after merge.

* fix(ci): use simpler release-please title pattern that actually works

The canonical `chore${scope}: release${component} ${version}` pattern
trips release-please v4's own "miss the part of '${scope}'" warnings
and falls back to `chore: release ${branch}` — which leaves the merged
PR title with no version, breaking the post-merge component match and
blocking tag creation.

Use the simpler `chore(main): release ${version}` pattern that actually
produced working titles in #175 / #177 (e.g. `chore(main): release 3.1.1`).
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