CLI tool to create version bump commit and tag with newest version in a Git repository. Versioning is based on Semantic Versioning. Version bump types include MAJOR
, MINOR
, and PATCH
.
Add this line to your application's Gemfile:
gem 'git_version_bumper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install git_version_bumper
From within your Git repository you can run the gem using the versionify bump
command, in combination with a valid version bump type.
versionify bump TYPE
Valid version bump types include:
- MAJOR
- MINOR
- PATCH
- Fork it ( https://github.com/tmr08c/git_version_bumper/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request