Isona / dirble

Fast directory scanning and scraping tool
GNU General Public License v3.0
614 stars 87 forks source link

Embed current branch/commit in version number for builds that aren't directly on a release tag #18

Closed sciguy16 closed 5 years ago

sciguy16 commented 5 years ago

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.