About

This is the developer blog of Simon Wolf, Mac and iPhone developer, owner of Otter Software Ltd.

I am currently available for contract work so please get in touch to see if I can help you.

Twitter Accounts
« Application Accessibility | Main | Version Numbers »
Tuesday
Nov252008

Automating Build Numbers

Introduction

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/

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>