Reputation: 3810
I am using file content replacer Build Feature to change the AssemblyVersion
and AssemblyFileVersion
but I do not see any option to save the final version in TeamCity so that I can use it somewhere else down the build step.
Any pointers on how to achieve this is really appreciated.
Upvotes: 1
Views: 43
Reputation: 3099
I suggest you to define a build parameter that will hold the version. You can set it by concatenating a few other build parameters. For example define a parameter named "version.number" and set it to 1.0.%build.number%
Then you can use that parameter in both: build feature and in other build steps.
Upvotes: 1