Continuous Integration Versionning Strategy

Jul 4, 2013 at 6:06 PM
Edited Jul 4, 2013 at 6:07 PM
Hello,

First, I am a huge fan of nugetter!

I am trying to implement a package versionning strategy for CI build. The version format I would like to use is: 1.0.0-CIJB

Given a build number prefix: 100
Given a Julian Date (J): 13185
Given a build number (B): 1

My version pattern would be resolved as: 1.0.0-CI13185101

However, I tried to implement this with nugetter without success.

Do you have any suggestions to help my to reach my goal.

Regards,

Andre Gagne
Coordinator
Jul 5, 2013 at 12:42 PM
Try: 1.0.0-CI$J$B

Mark
Oct 24, 2013 at 11:57 PM
Edited Oct 25, 2013 at 12:08 AM
Mark,

This is a great product so far with hopefully great potential for my team.

Does the replacement function still work as above? I tried the CI$B in the seed file for the VersionPattern element and it comes out with 1.0. The TFS build log show an empty versionNumber field. I remove the $B, and I get the value normally...and if I remove "-CI", I get the $B replacement normally.

Using the 2.1 bits the standard template with the compiler version option, too.

Thanks for the help!

Derek