Using Date Version Numbers for Assemblies in TeamCity

added by DotNetKicks
12/12/2018 11:39:20 PM

1 Kicks, 824 Views

In some projects, I use the AssemblyInfo Patcher build feature to modify the AssemblyInfo.cs's version information. Mainly I was just using a static version with the %build_number% suffixed at the end. Something like 1.2.3.%build_number%. However, I decided to go with a date version number of YYYY.MM.DD.%build_number% Variables The first thing that caused me an issue was...