svn - NuGet Versioning Auto Increment Pre-Release -


we have 3 hosted source control management repositories (subversion) , 3 nuget repositories each environment:

  • development
  • qa
  • trunk

code:

  • library x (version 1.0.0)
  • application a

i have set-up post build event on library x create nuget package , push development repository. because these changes not yet stable, want these packages pre-release packages.

from understanding , reading, should follow format of x.1.0.1-alpha001. i've included version number in assemblyinfo.cs file:

[assembly: assemblyinformationalversion("1.0.1-alpha001")] 

my problem have no idea on how auto-increment value 001 002. not know how auto increment these within ci server jenkins. want make seamless possible developers.

you may use .targets files solution, can configured increment assemblyinformationalversion each build.

http://msdn.microsoft.com/en-us/library/ms366724.aspx


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -