com um clique
release
// Prepare, validate, and publish a Pake release. Not for version bumps without release intent.
// Prepare, validate, and publish a Pake release. Not for version bumps without release intent.
| name | release |
| description | Prepare, validate, and publish a Pake release. Not for version bumps without release intent. |
| version | 1.1.0 |
| allowed-tools | ["Bash","Read","Grep","Glob"] |
| disable-model-invocation | true |
Use this skill when preparing or executing a Pake release.
Four files must be updated in sync — never update one without the others:
package.json → "version"src-tauri/Cargo.toml → version under [package]src-tauri/Cargo.lock → version for package pakesrc-tauri/tauri.conf.json → "version"cat package.json | jq .version)pnpm run format — must pass cleanlypnpm test — must pass cleanly. If the release workflow step fails with pnpm install ... exit code 1 against the CN mirror, re-run once; a single transient flake is acceptable, two consecutive failures is not.pnpm run cli:build — Rollup + TS must pass (catches type errors that format misses).pnpm run release:check — verifies version sync, package contents, and npm dry-rungit statuschore: bump version to VX.X.Xgit tag -a VX.X.X -m "Release VX.X.X"
git push origin VX.X.X
Tag format: uppercase V prefix (e.g. V3.11.0), not v3.11.0.
gh run list --workflow=release.ymlgh run watchgh release view VX.X.Xgh workflow list --all | grep "Publish npm Package"gh run list --workflow=npm-publish.ymlnpm view pake-cli version and npm view pake-cli@X.Y.Z dist.tarballnpm publishes through Trusted Publishing from .github/workflows/npm-publish.yml. Configure npm package settings with GitHub Actions, tw93/Pake, workflow file npm-publish.yml, and no environment. Local npm publish is only a fallback if CI or registry state blocks the trusted path.
V* tag; do not retry an already-published version.npm exec --yes --package=pnpm@10.26.2 -- npm publish --registry=https://registry.npmjs.org so prepublishOnly can find the pinned pnpm version.npm view pake-cli@X.Y.Z version returns the expected version.# Current platform
pnpm build
# macOS universal binary
pnpm build:mac
Cross-platform builds (Windows/Linux) are handled by CI, not locally.