At the moment, some binaries provide hard-coded version information.
noname:~/STL/src/utl$ ../../bin/spdemo spdemo.c - version 3.2 of 02.Feb.2010
However, this information needs to updated manually, which is an error-prone and manual process.
It would be better to generate the version information automatically.
Solutions:
- use release identifier (for released versions): e.g.,
STL2018
- use hash of last git commit: e.g.,
dc0efab
- use hash of last git commit a file was changed (might be difficult considering includes)
At the moment, some binaries provide hard-coded version information.
noname:~/STL/src/utl$ ../../bin/spdemo spdemo.c - version 3.2 of 02.Feb.2010However, this information needs to updated manually, which is an error-prone and manual process.
It would be better to generate the version information automatically.
Solutions:
STL2018dc0efab