Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   increment build number (https://www.kinook.com/Forum/showthread.php?t=2507)

sri 04-10-2007 07:13 AM

increment build number
 
I have automated the build i want to increment the build number by itself upto a particular date.

we change the build number in rc and cpp files.

Can you tell how can i automate it?

kinook 04-10-2007 08:28 AM

It's unclear what you mean by increment a build number up to a particular date.

As far as incrementing a build number, see 'Update Global Macro' section of the Script.bld sample.
http://www.visualbuild.com/Manual/scriptsample.htm

To format the date in a field value, use a script expression and the vbld_FormatDateEx script function.
http://www.visualbuild.com/Manual/scriptexpressions.htm
http://www.visualbuild.com/Manual/sysscriptdatetime.htm

You can use the Replace in File action to update text in a .cpp/.rc file.
http://www.visualbuild.com/Manual/filereplaceaction.htm
http://www.visualbuild.com/Manual/filessample.htm

You can also use the Make VS.NET or Make VC6 action to update a version or property field in the VERSIONINFO resource of a .rc file.
http://www.visualbuild.com/Manual/vs...olutiontab.htm


All times are GMT -5. The time now is 12:31 AM.


Copyright © 1999-2023 Kinook Software, Inc.