- Ensure CHANGELOG.md is updated under
[Unreleased].- Optional automation (requires
git-cliff):
- Optional automation (requires
just changelog preview
just changelog sync- Run the release script:
npm run release:patch
# or
npm run release:minor- Push the tag:
npm run release:push- Push branch and tag:
npm run release:push- GitHub Actions (
.github/workflows/release.yml) runs automatically on tag push and will:
- publish to npm (requires repository secret
NPM_TOKEN) - publish/update the GitHub release from
CHANGELOG.md
Optional manual GitHub release publish/update:
npm run release:github- The release scripts handle version bumps, CHANGELOG finalization, commit, and tag creation.
- Publishing is CI-driven on tag push via
.github/workflows/release.yml. - GitHub releases are created or updated from the matching
CHANGELOG.mdsection. - Major releases are not supported by policy.