• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SVN revision number in CFBundleVersion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: SVN revision number in CFBundleVersion
      • From: Milton Sagen <email@hidden>
References: 
 >SVN revision number in CFBundleVersion (From: Giovanni Donelli <email@hidden>)

  • Prev by Date: Re: Vu-meter
  • Next by Date: Displaying a Raw Mono Image with Cocoa
  • Previous by thread: SVN revision number in CFBundleVersion
  • Next by thread: Re: SVN revision number in CFBundleVersion
  • Index(es):
    • Date
    • Thread