- Increase version number in package.json.
- Run
npm install
in order to update package-lock.json with the right version number. - Update Changelog.
- Set current version number to
Unreleased
section. - Remove empty entries.
- Add link to compare changes with previous release.
- Set current version number to CLI getOptions
- Set current version number to
- Draft a new release
- Create a new tag by prefixing the version number by the letter
v
. Some good tag names might bev1.0.0
orv2.3.4
. - Use version number as the release title.
- Use changelog as the release description.
- Create a new tag by prefixing the version number by the letter
- Publish release.
- Add Unreleased section to the Changelog.
The GitHub action Publish Package to npmjs will automatically publish release to npm.
Based on Semantic Versioning, given a version number MAJOR.MINOR.PATCH
,
increment
the:
MAJOR
version when you make incompatible API changes.MINOR
version when you add functionality in a backwards compatible manner.PATCH
version when you make backwards compatible bug fixes.