Let one build trigger a change in buildnumber on dependant project

I have this build runner creating a new build each checkin. That's the development build compiling and running some unit tests to ensure everything is in place.

The development buildnumber is on the format 1.1.1.{0}

Now we have certain semantics in our version numbers;
1.2.1 would be a minor feature to 1.1.1 and 1.1.2 would be a bugfix/patch to 1.1.1

Currently I have one Deploy Release project with Development build as dependency. The build number is %dep.bt**.system.build.number%

What I have to do now is that whenever I decide that the product is ready for a new release I have to increment the minor version or patchnumber on the development build to reflect the version change in the Deploy Release project.

Is it possible to let TeamCity set the buildnumber on a dependency project prior to building Deploy Release ?

I don't mind doing some scripting somewhere to achieve this, I just want to get it done :)

1 comment
Comment actions Permalink

I have similar question: http://devnet.jetbrains.com/message/5499868#5499868
Going to track yours as well :)


Please sign in to leave a comment.