0.6.0 • Published 9 years ago

git-release v0.6.0

Weekly downloads
268
License
MIT
Repository
github
Last release
9 years ago

release

Release a new version of your Git project

screenshot

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