git-release

0.6.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i git-release

Weekly Downloads

6

Version

0.6.0

License

MIT

Last publish

Collaborators

  • oligot