That's cool, maybe jot a point in the README about that gem as a suggestion
for how to manage versions


On 28 February 2013 02:58, Valerio Santinelli <notifications@github.com>wrote:

> In README.md:
>
> > @@ -79,10 +79,15 @@ This will produce something like: MyProject-Debug-1.0.ipa and MyProject-Debug-1.
> >
> >  ### Incrementing the build number
> >
> > -	config.info_plist do |info|
> > -	  info.version = info.version.to_i + 1
> > -	  info.save
> > -	end
> > +The function increment_build takes care of incrementing the build number of your product.
> > +If the version is just a number, it will increment that number.
> > +If the version is in dot notation (e.g. 1.2.3) it will increment the last value (leading to 1.2.4 in this example)
>
> I actually found a gem that does exactly that. I'm rolling back those
> changes and switch to using that gem instead.
> Just in case you ever need it: https://github.com/dazuma/versionomy
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rayh/xcoder/pull/56/files#r3172765>
> .
>



-- 
Ray Hilton
(maker of mobile apps)
-
a: 13/243 Collins Street, Melbourne VIC 3000
m: 0430 484 708
w: http://rayh.com.au