https://github.com/tmr08c/git_version_bumper
CLI tool to create version bump commits and tag these commits with newest version in a Git repository.
https://github.com/tmr08c/git_version_bumper
cli git ruby ruby-gem
Last synced: about 2 months ago
JSON representation
CLI tool to create version bump commits and tag these commits with newest version in a Git repository.
- Host: GitHub
- URL: https://github.com/tmr08c/git_version_bumper
- Owner: tmr08c
- License: mit
- Created: 2016-01-27T04:25:49.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2022-02-25T21:33:16.000Z (about 3 years ago)
- Last Synced: 2025-03-02T15:52:00.558Z (3 months ago)
- Topics: cli, git, ruby, ruby-gem
- Language: Ruby
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://badge.fury.io/rb/git_version_bumper)
[](https://codeclimate.com/github/tmr08c/git_version_bumper)
[](https://codeclimate.com/github/tmr08c/git_version_bumper/coverage)
[](https://travis-ci.org/tmr08c/git_version_bumper)# GitVersionBumper
CLI tool to create version bump commit and tag with newest version in a Git repository. Versioning is based on [Semantic Versioning](http://semver.org/). Version bump types include `MAJOR`, `MINOR`, and `PATCH`.
## Installation
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
## Usage
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
```### Version Bump Types
Valid version bump types include:
* MAJOR
* MINOR
* PATCH## Contributing
1. Fork it ( https://github.com/tmr08c/git_version_bumper/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request