Skip to content

ci: title v2.0 release PRs so release-please can read them back - #36

Merged
uermel merged 1 commit into
v2.0from
uermel/release-please-v2-title
Oct 15, 2026
Merged

uermel merged 1 commit into
v2.0from
uermel/release-please-v2-title

Conversation

@uermel

@uermel uermel commented Oct 14, 2026

Copy link
Copy Markdown
Member

No release PR is opened on v2.0: "Create Release PRs" has failed on every push since #28 was merged, with release-please failed: unable to parse version string: 2.0.

Cause. release-please titles a linked (server + client) release PR after its branch, chore: release ${branch}. On main that gives chore: release main, which release-please later skips when it scans merged PRs for the latest release. On v2.0 it gives chore: release v2.0: the scan's pattern (chore${scope}: release${component} ${version}) reads v2.0 as version 2.0, and parsing it throws. So #28's 1.0.0-alpha releases and tags were never created (it is still autorelease: pending), and no new release PR was opened.

Fix. group-pull-request-title-pattern: "chore${scope}: release copick-web" in the v2.0 prerelease config, so v2.0 release PRs are titled chore(v2.0): release copick-web. Checked against release-please 17.6.0's own parser: the scan skips that title (no crash), and creating the release parses it with the group pattern (the versions come from the PR body, as on main). The old title reproduces the error exactly.

After merging. #28 has been retitled to chore(v2.0): release copick-web, so the next run on v2.0 should create the server-v1.0.0-alpha / client-v1.0.0-alpha releases from it (and publish the images), then open a release PR for #32–#34.

main is unaffected: its config has no group title, and chore: release main already works.

🤖 Generated with Claude Code

release-please titles a linked (server + client) release PR after the branch,
"chore: release ${branch}". On v2.0 that is "chore: release v2.0", which
release-please later reads back as version "2.0" and fails on ("unable to
parse version string: 2.0"). It has failed on every v2.0 push since #28 was
merged, so #28's 1.0.0-alpha releases were never created and no new release
PR was opened.

Give v2.0 release PRs the title "chore(v2.0): release copick-web": skipped
when release-please looks for earlier releases, parsed when it creates the
release (the versions come from the PR body).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@uermel
uermel merged commit 116d851 into v2.0 Oct 15, 2026
13 checks passed
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