Skip to content

Commit 80d44bf

Browse files
committed
feat(release): add shadow preparation controller
1 parent a835584 commit 80d44bf

4 files changed

Lines changed: 549 additions & 0 deletions

File tree

.agents/skills/release-openclaw-maintainer/SKILL.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,19 @@ Stable publication is not complete until `main` carries the actual shipped relea
237237

238238
## Handle versions and release files consistently
239239

240+
Use the release preparation controller before manual version edits:
241+
242+
```bash
243+
pnpm release:prepare -- --version YYYY.M.PATCH-beta.N --shadow
244+
pnpm release:prepare -- --version YYYY.M.PATCH-beta.N --write
245+
pnpm release:prepare -- --version YYYY.M.PATCH-beta.N --check
246+
```
247+
248+
Shadow mode is the default and never runs mutating commands. Write mode aligns
249+
the root and macOS versions, optionally Android with `--android`, then runs only
250+
the version-owned generated metadata DAG. Every mode writes an exact
251+
HEAD/worktree-bound manifest under git metadata for cutover review.
252+
240253
- Version locations include:
241254
- `package.json`
242255
- `apps/android/app/build.gradle.kts`

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,7 @@
17611761
"release:generated:check": "node scripts/release-preflight.mjs --check",
17621762
"release:openclaw:npm:check": "node --import tsx scripts/openclaw-npm-release-check.ts",
17631763
"release:openclaw:npm:verify-published": "node --import tsx scripts/openclaw-npm-postpublish-verify.ts",
1764+
"release:prepare": "node --import tsx scripts/release-prepare.ts",
17641765
"release:plugins:clawhub:check": "node --import tsx scripts/plugin-clawhub-release-check.ts",
17651766
"release:plugins:clawhub:plan": "node --import tsx scripts/plugin-clawhub-release-plan.ts",
17661767
"release:plugins:npm:check": "node --import tsx scripts/plugin-npm-release-check.ts",

0 commit comments

Comments
 (0)