Setting version numbers
Hi,
What do most people do to update their version numbers? At my shop, we pass the version number from a TeamCity variable to a custom MSBuild task we've wrritten that regexes through the various source files that need the version number (AssemblyInfo.cs; ProductInfo.h; etc).
What's your solution?
Regards,
Rob
Please sign in to leave a comment.
That's exactly what I do.
Another buildmaster at my company just told me that the latest build of TeamCity does actually handle this stuff for you. If that's the case - I'll be hasselling for an upgrade to 6.5! (6.0.3 atm).
Yes, in 6.5 we developed AssemblyInfo Patcher.