Skip to content

chore(release): 1.1.1 - #64

Closed
Alex1990 wants to merge 2 commits into
mainfrom
release/v1.1.1
Closed

Alex1990 wants to merge 2 commits into
mainfrom
release/v1.1.1

Conversation

@Alex1990

Copy link
Copy Markdown
Owner

1.1.0 → 1.1.1

The `Main branch` ruleset refuses every direct push to `main` — including the
release commit — with `422 Changes must be made through a pull request`, and
the owner's bypass (`bypass_mode: pull_request`) covers merging a PR, not
pushing one. `bumpp`'s default flow pushed the release commit and its tag
straight to `main`, so the next release would have failed at the push.

Releases now use bumpp's `--pr` mode: commit on `release/v<version>`, push that
branch, open the PR. `pr.base` is pinned to `main` because bumpp otherwise
derives the base from `origin/HEAD`, which still said `master` in this clone —
with the wrong base, its precondition check refuses to run at all.

The tag moves to `pnpm release:tag` (`scripts/release-tag.mjs`), run on the
updated `main` after the merge. bumpp's PR mode creates no tag by design: it
cannot know the merge commit, and a squash or rebase merge rewrites the release
commit, so a tag made on the branch would point at a commit that never lands on
`main`. The script refuses a dirty tree, a branch other than `main`, a `main`
out of sync with `origin/main`, and an existing tag; `--no-push` rehearses.

`package.json` passes `-a --commit "chore(release): {version}"` on the command
line rather than relying on the config file: bumpp's CLI defaults win over the
config's object form, which is why v1.1.0 was committed as
`chore: release v1.1.0` despite `commit: { message }` in `bump.config.ts`.

`docs/agents/release.md` is rewritten to match — it documented the direct push
that the gate now refuses.
@Alex1990 Alex1990 closed this Sep 18, 2026
@Alex1990
Alex1990 deleted the release/v1.1.1 branch September 18, 2026 15:28
@github-actions

Copy link
Copy Markdown
Contributor

Coverage

Metric % Covered / Total
Lines 91.73% 1121/1222
Statements 90.42% 1209/1337
Functions 92.76% 218/235
Branches 76.97% 575/747

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