build: Limit auto-versioning to git revision hash
When building from a git checkout and HEAD does not exactly match a tag, append the shortened revision hash to the hardcoded version string. Do not attempt to provide any information beyond that. This brings the PulseView versioning in line with the other modules in the sigrok stack.
Showing with 8 additions and 28 deletions