Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TeamCity - referencing a build number from a different Build configuration

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?

like image 335
Jack Ryan Avatar asked Jul 07 '09 12:07

Jack Ryan


1 Answers

How can you link version numbers between build configurations of a TeamCity project?

like image 67
Jim G. Avatar answered Sep 29 '22 21:09

Jim G.