I'm assuming you're using the Make VC6 or Make VS.NET action to build some VC project(s) or solution(s). If so, use a field override for the set/increment version radio button and then dynamically set the override value as appropriate based on the configuration being built (a value of 0 = no, 1 = increment 2 = set).
This is demonstrated in the VisBuildPro.bld sample (search for 'Build VC6' or 'Build VSNET' in that project). It sets the override value to %VERSEL%, which defaults to 0 via a project macro, but is overridden on the command-line from Master.bld with a value of 1 to increment the version.
See 'field overrides' in the help index for more details on that functionality.
|