Describe the bug
Version string isn't generated correctly. 86ae0fe is affected.
$ xmap -V
xmap Development Build. Commit UNKNOWN
To Reproduce
- clone repo
- configure and build with cmake
- install and run
xmap -V
Expected behavior
Commit hash should not be "UNKNOWN".
Desktop
- OS: Arch Linux
- Version: "UNKNOWN"
Additional context
Problem may be in src/CMakeVersion.txt
aur/xmap-git has been adjusted to produce output like following:
$ xmap -V
xmap AUR 2.0.2.r0.g86ae0fe
Describe the bug
Version string isn't generated correctly. 86ae0fe is affected.
To Reproduce
xmap -VExpected behavior
Commit hash should not be "UNKNOWN".
Desktop
Additional context
Problem may be in
src/CMakeVersion.txtaur/xmap-githas been adjusted to produce output like following: