NAntContrib (nantcontrib.sf.net) has the task. We use it to
increment the build numbers in our builds and then check the
build.number file into the source repository (SVN).
FWIW, we use CruiseControl.NET to do our nightly builds, and it has the
capability to keep track of version numbers, and
I tried to use the version task but since our last number is 100, it
would always force it to a 0.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Arnette
Sent: Thursday, December 15, 2005 12:21 PM
To: nant-users@lists.sourceforge.net
Subject: RE: [
NAntContrib (nantcontrib.sf.net) has the task. We use it to
increment the build numbers in our builds and then check the build.number
file into the source repository (SVN).
---
This
We use clearcase and each project has their own Version file checked in.
The contents of the Version file would be: 1.0.20.100
The common.build is for all products that use the same tasks - like
incrementing the build number and such.
Here is a product build script and you will see how it use
Thanks Rebecca,
Does your version file only contain the one version or multiple versions
for other projects? And do you include this file in your build or does
your project files use this file to insert the build version?
Thanks,
Tim.
-Original Message-
From: Kedziora, Rebecca [mailto:
Here's a sample from my build files:
Hello,
We keep our version number in a file. I use the common.build for all
projects which they include. You can review to see how we do our build
numbers.
-Rebecca
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Mayert
Sent: Thursday, December 15
We are just looking at implementing our major builds in NAnt for nightly
builds and would like to know if there are simple function(s) that will
automatically update our build number for each build.
At the moment we have the build number set in our project
ProjectProperties.xml file, shown below,