So we've been using TeamCity for quite some time at our company.
Recently, I've been challanged with a task to implement versioning system into our applications.
We've got the basic idea of how it should be incremented, but I'm not quite sure how, with TeamCity and ANT (we are using ant to build apps), to do that.
Now, the all idea behind the versioning is to have a:
The tricky thing is, that major and minor are... somewhat determined manually, but build_number is determined by the number of builds done in specific minor.
I don't want remote service to store the whole thing elsewhere. Ideally would be to use property file to store each part of the version and then combine them together.
The problem however is, that we have multiple branches from which we deploy the applications. Now, let's say master is at 1.1.15 and from that branch prod_build is created.
Now, when couple of features ahead, at master, we have 1.1.67. When starting build from prod_build version should be 1.1.16
Is there any way for storing some values in teamcity database? Maybe that would give me some hope I guess.
Thanks for your help!