Re: SVN revision number in CFBundleVersion
Re: SVN revision number in CFBundleVersion
- Subject: Re: SVN revision number in CFBundleVersion
- From: Dave Camp <email@hidden>
- Date: Tue, 2 Aug 2005 10:43:18 -0700
The problem can be broken into two parts: getting the revision from
subversion and modifying the plist file.
Unfortunately, I can't seem to figure out how to get the revision
number out of the sandbox, Maybe someone else can comment on that.
As for modifying the plist, I use agvtool for that. In my case, I
bump the version number (I only increment when building for QA) and
automatically make a subversion tag for the source.
SVN_TAG_DIR="tags/MyCoolApp-`agvtool vers -terse`"
cd .. ; svn cp trunk ${SVN_TAG_DIR} ; svn ci -m "Created copy for $
{SVN_TAG_DIR}"
Dave
On Aug 1, 2005, at 2:08 PM, Giovanni Donelli wrote:
Dear Folks,
does anybody know a clever way to automatically insert the SVN
revision number in CFBundleVersion into the info.plist file?
should I write a script to do that? are there special tools to
archive that?
thank you!
Giovanni
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40criticalpath.com
This email sent to email@hidden
---
It is dark; you are likely to be eaten by a grue. -Zork
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden