Embed current branch/commit in version number for builds that aren't directly on a release tag
Closed this issue · 0 comments
sciguy16 commented
To make it easier to keep track of development builds that don't correspond to releases it would be good to include the current branch and commit in the version string that's printed out in the header.
There are bindings to libgit2 that could be used in a build script to set an appropriate environment variable for the build process.