1.3 KiB
1.3 KiB
Release Checklist
No-warning policy: Every command below must finish without warnings (Biome, Oxlint, tsgo, Vitest, npm pack, etc.). Fix issues before continuing; releases cannot ship with outstanding warnings.
- Update version in package.json and src/runtime.ts.
- Run pnpm install to refresh the lockfile if dependencies changed.
- pnpm check (zero warnings allowed)
- pnpm test (watch for stderr warnings)
- pnpm build
- pnpm build:bun
- tar -C dist-bun -czf dist-bun/mcporter-macos-arm64-v.tar.gz mcporter
- shasum -a 256 dist-bun/mcporter-macos-arm64-v.tar.gz
- npm pack --dry-run to inspect the npm tarball.
- Verify git status is clean.
- git commit && git push.
- pnpm publish --tag latest
- Create a GitHub release, upload mcporter-macos-arm64-v.tar.gz (with the SHA from step 8), and record the release URL.
- Tag the release (git tag v && git push --tags).
- Update
steipete/homebrew-tap→Formula/mcporter.rbwith the new version, tarball URL, and SHA256; adjust tap README highlights if needed. - Commit and push the tap update.
- Verify the Homebrew flow (after GitHub release assets propagate):
brew update brew install steipete/tap/mcporter mcporter list --help