The release/publishing process is as follows:
- Checkout
master
, rebase, and make sure it's in a clean state with no pending commits not yet pushed to origin. - Rename the UNRELEASED section in the
/CHANGELOG.md
to the new version being released.- For example,
## UNRELEASED -> ## v1.0.0
- For example,
- Commit changes to
/CHANGELOG.md
using a commit message like"Changes for version x.y.z"
. - Run
npm version <major|minor|patch>
to version thepackage.json
and create a git tag. - Run
npm publish
- Push commits and tags to origin:
git push && git push --tags