Skip to content

fix(release): use packages config to fix Release Please component mapping#15

Merged
maniramezan merged 4 commits into
mainfrom
fix/release-please-component-mapping
Jun 4, 2026
Merged

fix(release): use packages config to fix Release Please component mapping#15
maniramezan merged 4 commits into
mainfrom
fix/release-please-component-mapping

Conversation

@maniramezan
Copy link
Copy Markdown
Owner

Problem

Release Please has been silently producing no release PRs after feat: commits land on main. The logs show:

⚠ Found release tag with component '', but not configured in manifest  (×3)
❯ Set(0) {}
✔ Splitting 0 commits by path

Root cause: with root-level config (release-type at the top level), Release Please's tag parser assigns component '' (empty string) to bare v{version} tags. The manifest uses "." (dot) as the root package key. Since '' ≠ '.', all three existing tags (v0.1.0, v0.2.0, v0.3.0) are ignored, Release Please has no anchor SHA, collects zero commits, and creates nothing.

Fix

Switch to the packages format, which correctly maps the . path to bare version tags and matches the "." key in .release-please-manifest.json.

{
  "packages": {
    ".": {
      "release-type": "simple",
      "extra-files": ["gradle.properties"]
    }
  }
}

Test plan

…ping

Root-level release-please config assigns component '' (empty) to bare
v{version} tags, which doesn't match the manifest key '.' (dot). This
causes Release Please to find Set(0) latest release SHAs and collect
zero commits, so no release PR is ever created after a feat: merge.

Moving to the packages format explicitly associates the '.' path with
bare version tags, fixing the component lookup.
…ping

Root-level release-please config assigns component '' (empty) to bare
v{version} tags, which does not match the manifest key '.' (dot). This
causes Release Please to find Set(0) latest release SHAs and collect
zero commits, so no release PR is ever created after a feat: merge.

Moving to the packages format explicitly associates the '.' path with
bare version tags, fixing the component lookup.
@maniramezan maniramezan merged commit e0653bf into main Jun 4, 2026
2 checks passed
@maniramezan maniramezan deleted the fix/release-please-component-mapping branch June 4, 2026 01:26
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