Skip to content

oligot/git-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Release a new version of your Git project

Resources

License

Stars

Watchers

Forks

Packages