Repository navigation
docs(repo): write down how releases pick their version - #89
Merged
Merged
Conversation
lxup
force-pushed
the
ci/release-please-patch-by-default
branch
from
October 13, 2026 08:24
80546bb to
f9dd41c
Compare
A `feat(repo):` title on a translation PR took the mobile app from 1.7.0 to 1.8.0, and nothing in the repository said that would happen. The config is fine -- the commit type is the release decision, and that was the part nobody had written down. So this documents the behaviour instead of changing it: which type bumps what, that only commits touching `apps/mobile/` count at all (Release Please splits the history per package path), and `Release-As:` for an exact version. Two traps are in there because both cost time to find. `bump-minor-pre-major` and `bump-patch-for-minor-pre-major` sit in the config and read like they make `feat` a patch bump; both are scoped to `version < 1.0.0` in release-please's schema, so they have been inert since mobile reached 1.0.0. And a `!` has to reach the squash subject, which is the pull request title only when the branch has more than one commit -- otherwise GitHub uses the single commit's own subject.
lxup
force-pushed
the
ci/release-please-patch-by-default
branch
from
October 13, 2026 08:31
f9dd41c to
7071d27
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(repo):on a translation PR took the mobile app from 1.7.0 to 1.8.0 (#88), and nothing in the repository said that would happen. My first pass at this changed the config to make every release a patch bump — dropped, because the config turns out to be fine: the commit type is the release decision, and that was the part nobody had written down.So this is documentation only, no behaviour change.
What
CONTRIBUTING.mdnow saysfix:,perf:,revert:1.8.0→1.8.1feat:1.8.0→1.9.0feat!:, or aBREAKING CHANGE:footer1.8.0→2.0.0chore:,ci:,docs:,refactor:, ...Plus: only commits that touch
apps/mobile/count towards the version at all (Release Please splits the history per package path, so a change confined to web or to a library releases nothing), andRelease-As:forces an exact version.Two traps, written down because both cost time to find
bump-minor-pre-majorandbump-patch-for-minor-pre-majordo nothing here. They sit in the config and read like they makefeata patch bump. Both are scoped toversion < 1.0.0— straight from release-please's schema (Feature changes only bump semver patch if version < 1.0.0) — so they have been inert since mobile reached 1.0.0. Left in place for a package that would start at0.x.!has to reach the squash subject. Squashing uses the pull request title when the branch has several commits, but the single commit's own subject when it has exactly one. On a one-commit PR the!has to be in the commit too, or fixed in the merge dialog.And
Release-As:goes in the squash commit, not the pull request description: this repository squashes with the branch's commit messages (squash_merge_commit_message: COMMIT_MESSAGES), so the description is dropped.