git-release
v0.6.0
Published
Release a new version of your Git project
Downloads
597
Readme
release
Release a new version of your Git project
Installation
Install with npm
npm install -g git-release
Usage
release
By default, this will
- execute .git/hooks/pre-release (if present)
- increment the patch version (ex: from 1.2.0 to 1.2.1) in the package.json file using the Semantic Versioning specification
- commit the package.json file
- create a Git tag for the new version
- push to the remote server
- execute .git/hooks/post-release (if present)
You can also increment the minor version (ex: from 1.2.0 to 1.3.0)
release minor
Or the major version (ex: from 1.2.0 to 2.0.0)
release major
Or force a specific version
release 1.3.0-alpha