Run the release workflow from RELEASING.md.
Guardrails:
- Only run this on
mainunless the user explicitly wants a dry run elsewhere. - Require a clean worktree before versioning or publishing.
- Ask for confirmation before creating the release commit.
- Ask for confirmation again before starting
pnpm release:publish, because it publishes to npm, pushes the branch and tags to GitHub, and may require npm OTP entry.
Workflow:
- Run
pnpm release:statusand confirm there are pending changesets. - Run
pnpm version-packages. - Review the generated version bumps and changelog entries with the user.
- Commit the release files with
Release packagesunless the user requests a different message. - Run
pnpm release:publish. - Confirm that npm publish succeeded and that GitHub Releases were created or updated for the tags on
HEAD. - If npm publish succeeded but GitHub release creation failed, rerun
pnpm release:githubafter fixing the blocker.
If publish fails because of npm auth, OTP, or missing release notes, stop, report the exact blocker, and do not keep mutating the repo.
Source: MaxGfeller/open-harness — distributed by TomeVault.