...
TeamCity already has a build feature, allowing you to update the AssemblyVersion
, AssemblyFileVersion
and AssemblyInformationalVersion
attributes in AssemblyInfo
files of a solution.
Now we have a general purpose File content replacer new build feature, File Content Replacer, enabling you to change a wider range of values for the duration of the build in files specified by the user: the new build feature, File Content Replacer, provides values . It provides value pre-sets for replacement; custom values can also be used. On build finishing, the changed source files are reverted.
...