- Merge feature branches, bug fixes, and whatever changes into master after CI passes and PRs are approved
- Create a new branch off master when you're ready to release a new version
- Run
npm version
which will bump the version inpackage.json
and make a tag (for examplenpm version patch -m "Bump for 3.1.2"
). Follow SemVer rules for patch/minor/major. - Push the version commit and the tag
git push
&&git push --tags origin
- Open Pull Request, merge after approved. Make sure to "rebase and merge".
- Create a new release in the Github UI, give the release a name and add release notes (creating the release will kick off npm publish)