Title: Version task to get version without increment/update

OK I decided to be productive.  I spent the ten seconds required to add this in there.

 

I’ve attached the newer version of the VersionTask.cs.  Doing a diff will show you that not much has changed.  I’ll submit this to NantContrib dev list, as well, in the hopes that someone of might and power will bless this change into the codebase.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Cromwell, Ryan
Sent: Wednesday, January 21, 2004 11:40 AM
To: NAnt User List (E-mail)
Subject: [Nant-users] Version task to get version without increment/update

 

I was going to post a question as to whether or not you could use the version task to get the version without incrementing it, but I decided to be somewhat self sufficient and I opened the source.

<RANT>

This feature soooo should have been in there to begin with.  I have come to this conclusion solely on my personal irritation with it not existing and my need for it to exist.  One more RevisionType of “none” which returns the CalculateVersionNumber method then just returns the original versionNumber variable.  I will now brood over my discontent.

</RANT>

Anyone have this same problem that they’ve resolved without changing the VersionTask?

Attachment: VersionTask.ZIP
Description: VersionTask.ZIP

Reply via email to