PDA

View Full Version : How can I increment a global build number and use it in the build?


kinook
04-08-2003, 08:44 AM
A global macro (http://www.kinook.com/VisBuildPro/Manual/macrostab.htm) can be a useful location to store a build number that you may want to update and use with each build that is performed. The Script.bld (http://www.kinook.com/VisBuildPro/Manual/scriptsample.htm) sample shows how to achieve this via script code. It increments a build number and stores it in a global macro called BUILD_NUM, which can be used in other project steps via %BUILD_NUM%.