Project

ive

0.0
No commit activity in last 3 years
No release in over 3 years
A gem that allows you to bump the version of your Xcode project. You can do a major, minor, patch or build bump.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0

Runtime

~> 1.2.6
~> 0.19.1
~> 0.4.4
~> 0.1.18
 Project Readme

IVE

A gem that allows you to bump the version of your Xcode project.

The current bumps are supported by Ive:

  • Major Go from 1.0.0 to 2.0.0
  • Minor Go from 1.0.0 to 1.1.0
  • Patch Go from 1.0.0 to 1.0.1
  • Build Go from 1.0.0-0001 to 1.0.0-0002

And you can even automatically tag the current commit with this lastest version bump.

Installation

Add this line to your application's Gemfile:

gem 'ive'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ive

Usage

It's really simple to use. Just run anh of the following commands in the Terminal from the project root in order to bump.

ive major
ive minor
ive patch
ive build

To tag the commit add the --git parameter.

ive major --git
ive minor --git
ive patch --git
ive build --git

You can also supply the path of the project root if needed. Just pass the -p (or --path) parameter.

ive major -p ~/Project
ive major --path ~/Project

You can also specify the target/configuration you want to bump the version by adding an extra .ive file in the project root. This file should contain a valid target and configuration in order to be used.

If a .ive configuration file is missing you can easlily generate one with his command.

ive setup

Choosing the target/configuration to version bump can also be set. There is a --configuration (or -c in short) and a --target (or -t) parameter that can be set the same way you set the path.

ive major -c Release
ive major --configuration Release

The code above will make sure the Release configuration is used by Ive. The same can be done for the target as shown below.

ive major -t AppTargetName
ive major --target AppTargetName

It's also possible to check out the current version.

ive version
ive version -p ~/Project

Set the initial version to 1.0.0 with a build number 0001.

ive init

Contributing

  1. Fork it ( https://github.com/[my-github-username]/ive/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