
Installation
$ gem install xcodebump
Usage
$ cd /path/where/my/project/lives
$ xcodebump bump (-r, -m, -p)
To bump a version number, you want to pass in one of the three flags in the parentheses above. The one to pass in depends entirely upon which part of the version you want to bump.
1.2.3
-rwill bump the Release number, or the 1 above.-mwill bump the Minor number, or the 2 above.-pwill bump the Patch number, or the 3 above.
Additionally, you can pass in -g to commit the bump, add a git tag for the newer version number and push both. This looks like so, if you are bumping to a new patch number:
$ xcodebump bump -p -g
Contributing
- Fork it ( https://github.com/intermark/xcodebump/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