I have integrated my solution in to a continuous integration tfsbuild 2010 server. This works nicely building all my libraries.
Next I would like to increment the version number during each build on the CI server.
The makeup of the version number is: (Major version).(Minor version).(Revision number).(Build number)
My question is, what is the best practice as the number that should be incremented in this scenario? I would have thought the build number so that I end up with 1.1.1.123 and next check in results in 1.1.1.124 etc.
What I am wondering though when does the revision number get incremented? Major is manual for major releases, the minor version as I create multiple branches for releases.
Am I correct or what is the correct practice?