NAnt-contrib has a <version> task which does what you are after: http://nantcontrib.sourceforge.net/help/tasks/version.html
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Tim Mavers > Sent: Wednesday, 4 August 2004 10:56 PM > To: [EMAIL PROTECTED] > Subject: [Nant-users] Auto incrementing build numbers > > Is there a way for nant to create (and keep track of) build > numbers? I have created special targets that build specific > releases of our code which needs to be labeled. I would like > to be able to simply increment a build number and use that > through the nant xml build file. > > I checked Ant, and it has a PropertyFile which allows you to > create a file for storing build numbers, but I don't see this in nAnt. > > Has anyone done this before? > > Thanks, > > _________________________________________________________________ > Planning a family vacation? Check out the MSN Family Travel guide! > http://dollar.msn.com > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the > changes on Linux.com, ITManagersJournal and NewsForge in the > past few weeks? Now, one more big change to announce. We are > now OSTG- Open Source Technology Group. Come see the changes > on the new OSTG site. www.ostg.com > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > > > Disclaimer Message: This message contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please immediately delete it and all copies of it from your system, destroy any hard copies of it, and notify the sender. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. To the maximum extent permitted by law, Immersive Technologies Pty. Ltd. does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users