| name | publish-version |
| description | Publish a new patch/minor/major version of this pi extension to npm. Use when cutting a release, verifying npm trusted publishing, or explaining the release workflow for this repo. |
Publish Version
This repo publishes @scnewma/pi-codex-rate-limits to npm from GitHub Actions via trusted publishing.
Steps
-
Make sure the working tree is clean:
git status --short
-
Bump the package version:
npm version patch
Use minor or major instead of patch when appropriate.
-
Push the commit and tag:
git push --follow-tags
-
Create a GitHub release for the tag:
VERSION=$(node -p "require('./package.json').version")
gh release create "v${VERSION}" --title "v${VERSION}" --notes "Publish v${VERSION}"
-
Watch the publish workflow:
gh run list --limit 3
gh run watch <run-id> --exit-status
-
Verify npm:
npm view @scnewma/pi-codex-rate-limits version --registry=https://registry.npmjs.org/
Notes