Don't run this process on Windows. Otherwise, you'll run into issues like #86.
- Run
npm version [patch/minor/major]
to bump the version number inpackage.json
. - Update
CHANGELOG.md
by creating a section for the new version, moving all unreleased changes to that section, and adding a link for the new section at the bottom. Amend these changes into the commit created bynpm version
. - Run
git push
to pushmaster
to GitHub andgit push --tags
to push the Git tag created bynpm version
. - Run
yarn
to install dependencies. This is necessary to runnpm publish
. - Run
npm login
to log into NPM andnpm publish
to publish the new version to NPM.