Answer product-owner round 1: 2 🔴, 2 🟡 (0 misread); rebuild a branch main moved past, drop a tag whose push failed, refuse another project's clone, say which pull request it waits for

This commit is contained in:
2026-11-08 10:51:29 +01:00
parent f6e96da675
commit 51f5f3be29
6 changed files with 103 additions and 37 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
"""Move the checkout Claude Code reads its configuration from to this repo's newest release, and with --cut cut that release first.
"""Move the checkout Claude Code reads its configuration from to this repo's newest release; with --cut, first cut the next release.
usage: deploy-release [--cut] [<checkout>]
@@ -16,12 +16,12 @@ is no such change. It also refuses where the newest tag doesn't hold the checkou
the move would drop work no release holds. Untracked files, such as Claude Code's sessions and
memory, stay as they are.
--cut runs in the development clone. It cuts the next release, as chunk-preflight works it out, and
--cut runs in the development clone, and refuses where that clone's origin isn't <checkout>'s. It cuts the next release, as chunk-preflight works it out, and
refuses, changing nothing, unless that release holds no item in todo.md, its release review has
landed and changes are unreleased. The release names the version; the tool doesn't choose one.
1. It commits CHANGELOG.md with ## Unreleased renamed to the version, as `Cut release <version>`, on
a fresh origin/main, and pushes it as the branch release-<version>. The clone's own checkout
stays as it is.
1. On a fresh origin/main, it renames ## Unreleased in CHANGELOG.md to the version, commits that
titled `Cut release <version>`, and pushes it as the branch release-<version>. The clone's own
checkout stays as it is. Where main has moved past the branch, it rebuilds the branch on main.
2. It opens a pull request for the branch, with gh on a GitHub origin and tea elsewhere, waits for
its checks where there are any, and merges it fast-forward only. GitHub has no such merge, so
there it rebase-merges the branch, which is already on top of main.