name: afk-release disable-model-invocation: true description: Development-only helper for preparing and publishing an AFK CLI npm release from this repository.
AFK Release
Use only when explicitly asked to release, bump, or publish the AFK CLI.
- Confirm the bump:
patch,minor, ormajor. Default topatch. - Read
packages/afk/package.jsonand compute the next semver version. - Edit only
CHANGELOG.md:- keep a fresh empty
## TBD - TBDheading at the top. - move current TBD bullets under
## vX.Y.Z - YYYY-MM-DD. - if TBD is empty, ask before releasing.
- keep a fresh empty
- Run:
pnpm afk:typecheck
pnpm afk:test
pnpm --dir packages/afk pack --dry-run
- Commit the changelog only:
git add CHANGELOG.md
git commit -m "Prepare AFK vX.Y.Z release notes"
- Let npm own the version commit and tag:
pnpm afk:version patch
Use minor or major instead when requested.
- Push main and the new tag:
tag="v$(node -p "require('./packages/afk/package.json').version")"
git push origin main "$tag"
- Report the pushed tag and mention that a GitHub Release can be created from that tag if desired.