This repository follows the Conventional Commits spec for commit messages.
There is a husky commit message hook that will fail if your message does not follow this format.
Please note that ci:
and chore:
messages do not get added to the change log currently.
Thanks to the conventional commit spec being used in messages, releasing is easy. There are three steps.
-
Run
npm run release
. This will kick off standard-version which will analyse all commits since the last tag. It will then bump the version in package.json acordingly (major, minor, patch) and tag a new commit tha updates CHANGELOG.md. -
Push your changes, making sure your command includes the
--follow-tags
flag. -
After merging from your branch to master, create a new PR from master into the ptoduction branch. This will deploy to both GitHub and uploader.codecov.io once merged.