neil-benn / svnrevisionlabeller

Automatically exported from code.google.com/p/svnrevisionlabeller
0 stars 0 forks source link

revision number #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I am using the svnRevisionLabeller and it is great.
the thing is I want to add 1 to the {revision}.

for example: if my version is 7.0.4 and my last revision is 4000, I want the 
{revision} to get the value 4001.

Is there any way to do that ?

Thanks, Ido

    <labeller type="svnRevisionLabeller">
      <major>$(MajorVersion)</major>
      <minor>$(MinorVersion)</minor>
      <build>$(NextBuildVersion)</build>
      <pattern>{major}.{minor}.{build}.{revision}</pattern>
      <incrementOnFailure>false</incrementOnFailure>
      <resetBuildAfterVersionChange>false</resetBuildAfterVersionChange>
      <url>$(TrunkUrl)</url>
      <executable>C:\csvn\bin\svn.exe</executable>
      <username>$(SVNUserName)</username>
      <password>$(SVNPassword)</password>
    </labeller>

Original issue reported on code.google.com by idoyoha...@gmail.com on 24 Feb 2011 at 10:19