https://github.com/thejus-paul/bump_gem_version
This gem will simplify the way you bump gem versions.
https://github.com/thejus-paul/bump_gem_version
bump gem ruby semver version versioning
Last synced: 3 months ago
JSON representation
This gem will simplify the way you bump gem versions.
- Host: GitHub
- URL: https://github.com/thejus-paul/bump_gem_version
- Owner: Thejus-Paul
- License: mit
- Created: 2023-02-22T19:47:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-30T19:05:51.000Z (4 months ago)
- Last Synced: 2025-07-27T11:59:12.257Z (3 months ago)
- Topics: bump, gem, ruby, semver, version, versioning
- Language: Ruby
- Homepage: https://rubygems.org/gems/bump_gem_version
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Bump Gem Version


This gem will simplify the way you bump gem versions.
## Installation
Install the gem and add to the application's Gemfile by executing:
```sh
bundle add bump_gem_version
```
If bundler is not being used to manage dependencies, install the gem by executing:
```sh
gem install bump_gem_version
```
## Usage
```sh
bump_gem_version current # 0.1.0
bump_gem_version patch # 0.1.0 -> 0.1.1
bump_gem_version minor # 0.1.0 -> 0.2.0
bump_gem_version major # 0.1.0 -> 1.0.0
# To use with labels
bump_gem_version labels bug,patch # 0.1.0 -> 0.1.1
bump_gem_version labels feature,minor,patch # 0.1.0 -> 0.2.0
bump_gem_version labels breaking,major # 0.1.0 -> 1.0.0
bump_gem_version labels ${{ join(github.event.pull_request.labels.*.name, ',') }} # For GitHub PR labels
bump_gem_version exact 1.2.3 # 0.1.0 -> 1.2.3
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/thejus-paul/bump_gem_version/blob/master/CODE_OF_CONDUCT.md).
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
## Code of Conduct
Everyone interacting in the BumpGemVersion project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/thejus-paul/bump_gem_version/blob/master/CODE_OF_CONDUCT.md).