Skip to content

fix(ci): set empty component to fix release-please auto-tagging#192

Merged
buremba merged 3 commits into
mainfrom
fix/release-please-drop-package-name
Apr 16, 2026
Merged

fix(ci): set empty component to fix release-please auto-tagging#192
buremba merged 3 commits into
mainfrom
fix/release-please-drop-package-name

Conversation

@buremba
Copy link
Copy Markdown
Member

@buremba buremba commented Apr 16, 2026

Follow-up to #190. Removing package-name made release-please fall back to the root package.json name (lobu-monorepo) as the expected component — same mismatch, different name.

Setting "component": "" explicitly tells release-please there is no expected component, so the merged PR title doesn't need to carry one.

Test plan

  • Merge this → release-please opens v3.4.3 PR
  • Merge the release PR → verify v3.4.3 tag + release + publish happen automatically

buremba added 3 commits April 16, 2026 02:38
…ging

release-please v4 derives an expected component ("gateway") from
`package-name: "@lobu/gateway"`. When the Merge plugin creates
a release PR, the title carries no component — so createReleases
sees `PR component: undefined != configured component: gateway`
and aborts without tagging. This has silently broken every release
since v3.3.0, requiring manual gh release create + label swap +
workflow_dispatch each time.

Removing `package-name` eliminates the expected component entirely.
The field was only cosmetic here (npm publish uses each package's
own package.json name, not this config key).
release-please v4 auto-derives the component from the root
package.json name ("lobu-monorepo") when no explicit component or
package-name is set. This still causes the "PR component: undefined
does not match configured component: lobu-monorepo" check in
createReleases. Set `component: ""` explicitly so release-please
expects no component and the merged PR title can match.
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@buremba buremba merged commit ec809f9 into main Apr 16, 2026
10 of 11 checks passed
@buremba buremba deleted the fix/release-please-drop-package-name branch April 21, 2026 21:41
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