Automating Build Numbers
In my previous post about Version Numbers I briefly mentioned the idea of including build numbers in your version numbering scheme. To make this easier some people automatically populate this build number with the version number of the code from their source code repository.
Below are some links to other sites where you can find details about doing this for various source code control systems and please feel free to submit more via the comments section and I will update this article accordingly.
Subversion
Courtesy of Daniel Jalkut at Red Sweater Software
http://www.red-sweater.com/blog/23/automatic-build-sub-versioning-in-xcode
Bazaar
Courtesy of Martin Pilkington at M Cubed Software
http://www.mcubedsw.com/blog/index.php?/site/comments/build_numbers_from_bazaar/
Git
Courtesy of Abizer at Stompy.org
http://www.stompy.org/2008/08/14/xcode-and-git-another-build-script/


