I am in the process of setting up teamcity and msbuild to automate our build process a good deal more than we do now. Each project that we work on is being set up as a seperate project in teamcity, and each of those projects is being set up with 3 build configurations: Development, staging, and live. Development is our standard CI build that runs after each checkin. Staging and live perform build and deployment to the appropriate environment.
Our live builds will be numbered using the teamcity counter. But I would like to set up the staging build to number its builds as betas of the next Live build. So if the live build is at version 6 then I would like to number my staging builds as v7b1, v7b2 etc. Is there any way of doing this either in teamcity or as part of an msbuild script?
How can you link version numbers between build configurations of a TeamCity project?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With