- Run the tests
- Update the changelog
- Include
[semver major],[semver minor], or[semver patch]in the commit message.
On Travis CI, the create_semver_tag.sh script will read the message,
and run the matching npm version command, and push the new tag to GitHub.
The tag will trigger a second travis build that automatically releases to npm.
After performing the above steps:
- Run
npm version major,npm version minor, ornpm version patchto increment the version in package.json and create a git commit and tag. - Run
git push --follow-tagsto push the commit and tag to github. - Run
npm publishto publish the changes to npm.