- Re: I need tips on how to update my file version number automatically,please.
- Posted by Ray Trent on March 31st, 2004
Walter's suggestion of version.h is pretty standard...
We go the whole-hog method of having our build script call a program to
auto-increment the version (taking into account the branch the script
was requested to build :-), tag the CVS files, check out the source,
build the code, copy the results, etc., etc., etc.
That's probably overkill unless you do a whole lot of builds, but having
your build script collect a version number from the user, tag the files
in your source code control system, and write out a version.h file
wouldn't be too excruciating, I wouldn't think (we used to just pop up
version.h in an editor with "start/wait", but that got to be an
unreliable pain after a while).
Walter Oney wrote:
--
.../ray\..
Similar Posts
- Targus Power Tips - voltage by tip number table (super hard to getinfo) (Laptops/Notebooks) by Barry Watzman
- Pro to Media; windows update; File wizard now wrong version (Setup & Deployment) by HapPnis (Jim)
- [Update] A43 File Management Utility version 2.43 (Software & Applications) by CoMa
- [Update] A43 File Management Utility version 2.42 (Software & Applications) by CoMa
- Compare Directory File Lists down to the Version Number Level (Programming) by Bruce H Bussell

