We just started using TeamCity as a continuous integration server. There is a problem that we are trying to solve now:
We have a release configuration, it has build versions, such as: 1.0.0. {0} We also have a "nightly build" configuration, whose build number is 1.0.0.0. {Build.vcs.number.1}
So, the first 2 digits are fine, Major + Minor version. The third should be manually configured as well in accordance with our process (rarely, though). But, as you can see, the latter increases with each release.
Question: how do I get TC to copy the current fourth digit (or all of them) of "release" to the "night build"?
source
share