From be37b39782e0799ba5b9533561de6d128d50c863 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 17 Jan 2026 12:34:37 +0000 Subject: [PATCH] docs: clarify build-info release check --- docs/reference/RELEASING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/RELEASING.md b/docs/reference/RELEASING.md index 18b83f3654..5af89c112a 100644 --- a/docs/reference/RELEASING.md +++ b/docs/reference/RELEASING.md @@ -20,6 +20,7 @@ Use `pnpm` (Node 22+) from the repo root. Keep the working tree clean before tag 2) **Build & artifacts** - [ ] If A2UI inputs changed, run `pnpm canvas:a2ui:bundle` and commit any updated [`src/canvas-host/a2ui/a2ui.bundle.js`](https://github.com/clawdbot/clawdbot/blob/main/src/canvas-host/a2ui/a2ui.bundle.js). - [ ] `pnpm run build` (regenerates `dist/`). +- [ ] Confirm `dist/build-info.json` exists and includes the expected `commit` hash (CLI banner uses this for npm installs). - [ ] Optional: `npm pack --pack-destination /tmp` after the build; inspect the tarball contents and keep it handy for the GitHub release (do **not** commit it). 3) **Changelog & docs** @@ -51,7 +52,7 @@ Use `pnpm` (Node 22+) from the repo root. Keep the working tree clean before tag - [ ] Confirm git status is clean; commit and push as needed. - [ ] `npm login` (verify 2FA) if needed. - [ ] `npm publish --access public` (use `--tag beta` for pre-releases). -- [ ] Verify the registry: `npm view clawdbot version` and `npx -y clawdbot@X.Y.Z --version` (or `--help`). +- [ ] Verify the registry: `npm view clawdbot version`, `npm view clawdbot dist-tags`, and `npx -y clawdbot@X.Y.Z --version` (or `--help`). ### Troubleshooting (notes from 2.0.0-beta2 release) - **npm pack/publish hangs or produces huge tarball**: the macOS app bundle in `dist/Clawdbot.app` (and release zips) get swept into the package. Fix by whitelisting publish contents via `package.json` `files` (include dist subdirs, docs, skills; exclude app bundles). Confirm with `npm pack --dry-run` that `dist/Clawdbot.app` is not listed.