mcporter/RELEASE.md
2025-11-07 02:04:27 +00:00

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.

  1. Update version in package.json and src/runtime.ts.
  2. Run pnpm install to refresh the lockfile if dependencies changed.
  3. pnpm check (zero warnings allowed)
  4. pnpm test (watch for stderr warnings)
  5. pnpm build
  6. pnpm build:bun
  7. tar -C dist-bun -czf dist-bun/mcporter-macos-arm64-v.tar.gz mcporter
  8. shasum -a 256 dist-bun/mcporter-macos-arm64-v.tar.gz
  9. npm pack --dry-run to inspect the npm tarball.
  10. Verify git status is clean.
  11. git commit && git push.
  12. pnpm publish --tag latest
  13. Create a GitHub release, upload mcporter-macos-arm64-v.tar.gz (with the SHA from step 8), and record the release URL.
  14. Tag the release (git tag v && git push --tags).
  15. Update steipete/homebrew-tapFormula/mcporter.rb with the new version, tarball URL, and SHA256; adjust tap README highlights if needed.
  16. Commit and push the tap update.
  17. Verify the Homebrew flow (after GitHub release assets propagate):
    brew update
    brew install steipete/tap/mcporter
    mcporter list --help