Do NOT run npm publish directly. Publishing is handled by GitHub CI via git tags.
To release a new version:
- Bump the version in
package.json - Commit and push to
main - Run
make release— this tagsv<VERSION>and pushes the tag, which triggers.github/workflows/release.yml
The CI workflow runs deps:prod (swaps local file: deps for registry versions from publish.deps.json), builds, and publishes to npm + ClawHub.
If a release fails, use make retry to delete the tag and re-tag.