Hi, I have the following build process running from TeamCity using MSBuild as the build runner:
1. Code is checked out of Subversion by TeamCity
2. The version number is stored in a GlobalAssemblyInfo.cs which gets updated by the script as appropriate, and written back to the GlobalAssemblyInfo.cs file, and then this file is committed by the script via the SvnCommit MSBuild community task
3. The assemblies are built using the updated version number
4. The trunk is tagged in Subversion using the updated version number as the tag name, I have tried this by using the TeamCity labelling option on successful build, or by using the SvnCopy MSBuild community task
The issue is that the tagging appears to use the revision that was checked out in step 1 of the build above, therefore the tagged version, e.g. 220.127.116.11 contains the old GlobalAssemblyInfo.cs file marked as e.g. 18.104.22.168
Is there anyway for TeamCity to label the latest revision on successful build (or any scripting option I can use) so that the tag 22.214.171.124 contains the updated version of the GlobalAssemblyInfo.cs file?