https://github.com/skywinder/bumper_pusher
Easiest way to bump your specs
https://github.com/skywinder/bumper_pusher
Last synced: about 1 year ago
JSON representation
Easiest way to bump your specs
- Host: GitHub
- URL: https://github.com/skywinder/bumper_pusher
- Owner: skywinder
- License: mit
- Created: 2014-11-13T08:35:23.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T22:14:10.000Z (over 3 years ago)
- Last Synced: 2025-03-24T02:21:44.956Z (about 1 year ago)
- Language: Ruby
- Homepage: https://github.com/skywinder/bumper_pusher
- Size: 119 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](http://badge.fury.io/rb/bumper_pusher)
[](https://travis-ci.org/skywinder/bumper_pusher)
# BumperPusher
This gem make bumping and pushing your ruby gems easy and fast!
- Works with `gemspec` and `podspec` files
- Automatically detect your current version (from `spec` or `version.rb` file)
- Auto-bump spec
- Auto-push spec
## Installation
[sudo] gem install bumper_pusher
## Usage
- Just type: `bumper_pusher` and that's it!
- If you want to test that all works as expected: try **dry_run** mode: `bumper_pusher --dry-run`
- To bump version print: `bumper_pusher [option]`
- `-r` for bump release (`1.2.3` -> `2.0.0`)
- `-m` for bump minor (`1.2.3` -> `1.3.0`)
- `-p` for bump patch (`1.2.3` -> `1.2.4`) **default option**
- To install locally your gemspec `bumper_pusher -b`
### Params (`bumper_pusher -h`)
-d, --dry-run Dry run
--release Bump release version
-m, --minor Bump minor version
-p, --patch Bump patch version
-r, --revert Revert last bump
-i, --[no-]install Install this gem after push it. Default is true.
-b, --beta Build beta gem without commit and push
-v, --version Print version number
-g, --gen-changelog Auto generation of changelog and pushing it origin. Default is false
## Features & Benefits of this project
##
_Prerequirements (optional)
This tool usess `git flow` three structure.
Before run, please consider to run `git flow init` (default options is fine)._
- **Very easy to use**: just type `bumper_pusher` in your repo folder
- Supports version storage directly in `gemspec` file and in `version.rb`
- Checks that you're bumping from the `master` branch (otherwise prints a warning with confirmation)
- Checks that your `git status` is clean
- Ability to easily test build your gem `bumper_pusher -b` (it adds extra verions prefix to avoind version collising with release veriosions)
- Ability to generate changelog for the new version using [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator) (but broken with latest gcg releases)
- Supports both `gemspec` and `podspec` files
## Debug
### For Ruby v2.x
Follow by [this instructions](https://dev.to/dnamsons/ruby-debugging-in-vscode-3bkj)
```
gem install ruby-debug-ide
```
## Contributing
1. Fork it ( https://github.com/skywinder/bumper_pusher/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
### Alternatives
- https://github.com/peritus/bumpversion
- https://github.com/vojtajina/grunt-bump
- https://github.com/gregorym/bump
- https://github.com/svenfuchs/gem-release