1.0.2 • Published 8 years ago

conventional-release v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Automatically release your npm module

This command line script allows you to automatically release your npm module from the git repository. It assumes you follow these rules:

  • You have initial tag on master branch matching your initial version of the version in package.json
  • You use Angular commit message convention
  • You only release on master branch

To make a release you need to commit (or merge from other branches) something on top of your initial tag. You SHOULD NOT modify your version in package.json manually. Then you can simply do clean clone from your origin and on master branch call:

$ conventional-release

The tool will automatically calculate new version number of your module (using mversion and conventional-recommended-bump, generate new CHANGELOG.md file (using conventional-changelog, update version in your package.json (and bower.json, if you have one) file, commit all changes to the repository and tag the new commit. At the end the tool will prompt you wether or not you want to push your changes to remote origin and automatically publish your new version to your default NPM registry.