Take a look at the version task and the asminfo task... with these you
should be able to accomplish this. I think both of these tasks are in
the contrib. dll.

 

BOb

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bobby
Michael
Sent: Friday, November 24, 2006 6:46 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Help required for build numbering by NAnt script.

 

Hi All,

 

We have a version.include file which contains the following properties
with their corresponding values set.

ReleaseYear(yyyy)
ReleaseNumber(R)
BuildNumber(xxxx)

This version.include file is included in the buildscript. while running
the build we are overriding the BuildNumber property by giving the
current BuildNumber of that particular day through the commandline. We
have NAnt buildscripts that will compile the code and will generate a
package in zip file with the name ByyyyRxxxx (B stands for build) 

Our requirement now is to automate this build numbering process. For
each build, the script should be able to increment the previous
buildnumber(xxxx) by 1. How to achieve this requirement. Any help is
highly appreciated. 

Thanks in advance
Michael

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to