regenrek avatar

release-npm-trustme

Release automation for npm-trustme. Use when asked to cut a new npm-trustme version, run the release

提供方 regenrek|开源

release-npm-trustme

Overview

Run scripts/release.ts to bump the version, build, tag, and push a release for npm-trustme.

Workflow

  • Open the repo: cd ~/projects/npm-trustme
  • Ensure the working tree is clean (the script will refuse to run otherwise).
  • Pick the version bump: patch | minor | major or a specific semver.
  • Run: pnpm tsx scripts/release.ts <bump>
  • The script builds, commits, tags, pushes, and (if gh is installed) creates/updates a GitHub Release.

Examples

pnpm tsx scripts/release.ts patch
pnpm tsx scripts/release.ts minor
pnpm tsx scripts/release.ts 0.2.0

Notes

  • The script pushes to the current branch and tags; confirm the branch before running.
  • Release notes use CHANGELOG.md if present. Set GH_NOTES_REF to override the changelog section.
release-npm-trustme - 适用于 Claude Code 与 Cursor 的 AI 智能体 Skill | Agent Skills