Skip to content

chore: drop the release config the workflow never reads - #49

Merged
rmyndharis merged 1 commit into
mainfrom
chore/drop-unread-release-config
Aug 25, 2026
Merged

chore: drop the release config the workflow never reads#49
rmyndharis merged 1 commit into
mainfrom
chore/drop-unread-release-config

Conversation

@rmyndharis

Copy link
Copy Markdown
Owner

release-please-config.json declared bump-patch-for-minor-pre-major: true, which on a pre-1.0 package makes a feature a patch bump. The release workflow passes only release-type: node and no config-file, so release-please runs inline and never reads the file.

The setting has therefore never applied. The clearest proof is in the history:

Range Commits Config says Actual
v0.8.2 to v0.9.0 one feat: v0.8.3 v0.9.0
v0.7.2 to v0.8.0 two feat: v0.7.3 v0.8.0
v0.6.0 to v0.7.0 one feat: v0.6.1 v0.7.0

Every feature release took the minor bump the file forbids.

Why remove rather than wire it in

Nothing references the file, and .release-please-manifest.json is unaffected: that one is genuinely live and is rewritten by every release commit, including v0.10.0.

Adding config-file: to the workflow was the other way to resolve the contradiction, but it switches release-please into manifest mode, which changes how the next version is derived, and it would make future features patch bumps instead of minor. That is a policy change, not a cleanup, so it is deliberately left alone. If the patch-bump policy is actually wanted, it should be a separate deliberate PR.

Removing the file changes no behavior. It removes a file that documented a policy the project has never followed and that a future maintainer would reasonably trust.

Verification

Build, lint, 431 tests and the committed-dist check all pass. The next release will behave exactly as v0.10.0 did.

`release-please-config.json` declared `bump-patch-for-minor-pre-major: true`,
which would make a feature a patch bump on a pre-1.0 package. The release
workflow passes only `release-type: node` and no `config-file`, so release-please
runs inline and never reads the file. The setting has therefore never applied:
v0.8.2 to v0.9.0 was a single `feat:` and produced a minor bump, not the v0.8.3
the file asks for, and the same is true of every earlier feature release.

Nothing references the file, and `.release-please-manifest.json` is unaffected:
that one is genuinely live and is rewritten by every release commit. Removing the
config changes no behavior; it removes a file that documented a policy the
project has never followed and that a future maintainer would reasonably trust.

Wiring it in instead would have been the other way to resolve this, but that
switches release-please to manifest mode and would change how the next version is
derived. That is a policy decision rather than a cleanup, so it is left alone.
@rmyndharis
rmyndharis merged commit 8e4a932 into main Aug 25, 2026
1 check passed
@rmyndharis
rmyndharis deleted the chore/drop-unread-release-config branch August 25, 2026 05:43
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