ship-it · diff
git:20261111.ae086c9 to git:20261116.32a23c4
12 added, 4 removed. Audit A to A.
What this update changes in the checks
No check changed: every fixed check gives the same answer before and after this update.
A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.
---
name: ship-it
description: >-
Releases main, with or without a milestone: reads the commits and CHANGELOG `[Unreleased]`
entries since the last release, proposes the next version in the last release's scheme (`0.x`,
CalVer `YY.MM.MICRO` or SemVer), bumps each version file and moves the entries under the new
version in one MR, then tags its merge commit, asking first unless the version came as its
argument.
Use when the user asks to "cut a release", "release main", "ship 26.11", "ship it" or "bump the
version".
---
# ship-it
## 1. Propose
- Last release: the newest `v*` tag on main; no tag → the last commit that changed the version
file.
- Read the commits on main since the last release and the CHANGELOG `[Unreleased]` entries.
- Propose the next version from the last release's version, its tag or else the version file;
the user approves it, names another version or declines:
- No tag and no version file → `0.1.0`.
- A `0.x` version → the next minor: `v0.4.0` → `0.5.0`.
- A CalVer `YY.MM.MICRO` version → this month's `YY.MM`, MICRO one above the last release's in
the same month, else 0: `v26.11.0` → `26.11.1` in November 2026, `26.12.0` in December.
- A CalVer month has no leading zero: `27.5.0`, never `27.05.0`.
- A SemVer version at `1.0` or above → the next minor, unless the user names a CalVer version.
- A version passed as the skill argument → that version is the release; don't wait for a reply.
- No version file or no CHANGELOG `[Unreleased]` entries → say so in the proposal; create neither.
- The project's `CLAUDE.md` or `AGENTS.md` forbids tagging → the **Tag:** line reads
`none, <that file> forbids tagging`.
- Lay out the proposal as:
```
- **Version:** <current> → <next>
- **Commits:** <n> since <last tag or version commit>
- **CHANGELOG:** <n> `[Unreleased]` entries move under `[<next>] - <date>`
- **Tag:** `v<next>` on the MR's merge commit, <pushed | offered> once it merges
```
- Tagging not forbidden → the **Tag:** line reads `pushed` when the version came as the skill
argument, else `offered`.
## 2. Bump
- - One MR: bump each version file, rename the CHANGELOG `[Unreleased]` to `[<version>] - <date>`
- and add an empty `[Unreleased]` above it.
+ - One commit: bump each version file, rename the CHANGELOG `[Unreleased]` to
+ `[<version>] - <date>` and add an empty `[Unreleased]` above it.
+ - Called from a `milestone-close` offer while that close's docs MR is open → push the commit to
+ that MR, then read its state again; else, or merged without the commit, open one MR with it.
## 3. Tag
- - `CLAUDE.md` or `AGENTS.md` forbids tagging → no tag; this wins over the two lines below.
+ - `CLAUDE.md` or `AGENTS.md` forbids tagging → no tag; this wins over the lines below.
+ - Called from a `milestone-close` offer → tell the user you wait for the MR to merge, then start a
+ Bash `run_in_background` poll, every 30s through the host's tooling skill, that exits on
+ `merged` or `closed`, never on "not open".
+ - The poll exits `closed`, or the merged MR lacks the bump commit → push no tag and report why
+ in one line.
- Once that MR merges and the version came as the skill argument → create and push a
- `v<version>` tag on its merge commit without asking.
+ `v<version>` tag on its merge commit without asking; from a `milestone-close` offer, its
+ message names the milestone and you report it in one line.
- Once that MR merges and the version came any other way → offer a `v<version>` tag on its merge
commit.