Skip to content

fix(ci): put version in release-please PR title#176

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

fix(ci): put version in release-please PR title#176
buremba merged 1 commit into
mainfrom
fix/release-please-title

Conversation

@buremba
Copy link
Copy Markdown
Member

@buremba buremba commented Apr 11, 2026

Summary

release-please v4 without a custom `pull-request-title-pattern` generates release PRs titled `chore: release main` — the version is NOT in the title. On merge, release-please can't extract the version from its own PR and aborts with "untagged, merged release PRs outstanding", preventing the publish job from firing automatically.

Set `pull-request-title-pattern` to `chore(main): release ${version}` to match the old working format. Add `workflow_dispatch` so the workflow can be re-triggered without a dummy commit.

After this lands, the next `feat:` / `fix:` will produce a release PR titled `chore(main): release X.Y.Z`, and merging it will tag + trigger `publish-packages.yml` automatically.

Test plan

  • Biome + typecheck green
  • After merge: release-please opens PR titled `chore(main): release 3.1.2`
  • Merging that PR triggers the `publish` job → publishes 3.1.2 via OIDC trusted publishing

Without a \`pull-request-title-pattern\`, release-please v4 generated
release PR titles of the form \`chore: release main\` — no version
in the title. After merging, release-please couldn't parse its own
merged PR to determine what version to tag, aborting with
"untagged, merged release PRs outstanding". That's what blocked
both 3.1.0 and 3.1.1 from flowing through the release-please
publish job end-to-end (had to manually publish each via
\`gh workflow run publish-packages.yml\`).

Set \`pull-request-title-pattern\` to \`chore(main): release \${version}\`
so the PR title matches the old working format and release-please
can extract the version post-merge. Also add \`workflow_dispatch\`
to \`release-please.yml\` so the workflow can be re-triggered
manually without pushing a dummy commit when the state needs a
kick.
@buremba buremba merged commit 9021308 into main Apr 11, 2026
10 checks passed
@buremba buremba deleted the fix/release-please-title branch April 11, 2026 00:19
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