I have a project that I can build with a script. I'd like to add version number + release number to my builds. I'm looking for a way to do it automatically. As a result I'd like to get something like that:
\deployment\v1.2.3\some.exe When I run exe I'd like it to know that its version is 1.2.3.
1.2 is the actual version that I can setup manually, but .3 I'd like to change every time I run the deployment script, and it should reset when the version changes. I can write a perl script that reads a file and applies proper changes. But maybe there is a standard way to do these things and I'm not aware of it.