mbpoll icon indicating copy to clipboard operation
mbpoll copied to clipboard

Include git lightweight tags for version detection

Open git-developer opened this issue 2 years ago • 1 comments

GitVersion.cmake uses git describe to detect the application version.

By default, Git reads only annotated tags. The git repo currently contains a few version tags, but they're all lighweight tags, none of them is annotated. Thus, the version detection fails and the resulting version (mbpoll -V) is always 1.0-0.

Git may be advised to handle lightweight tags by setting the argument --tags. This results in a proper version, e.g. 1.4-11 for the current master branch (1968de6).

git-developer avatar Mar 20 '22 09:03 git-developer

@epsilonrt Do you see a chance to look at this PR?

git-developer avatar Sep 14 '23 05:09 git-developer