Closed stweil closed 4 years ago
Okay, so I see currently in this branch the version v0.1.0-132-ge1deaab
, but I think we want the additional --tags
option, i.e.:
$ git describe --tags
v0.2.3-48-ge1deaab
I cannot say much more about the code, because I don't understand most of the lines your wrote (besides the obvious ones:).
I think we want the additional --tags option.
The v0.2.x
tags were created as lightweight tags instead of annotated tags and are not used therefore. Citing man git-tag
:
Annotated tags are meant for release while lightweight tags are meant for private or temporary object labels. For this reason, some git commands for naming objects (like git describe) will ignore lightweight tags by default.
We should create the next release with an annotated tag. Then the code will work as expected.
Hm... but why not use git describe --tags
anyways as it fixes the situation we have at the moment?
Thank you @stweil for all the work!
This addresses issue #87. It is based on top of PR #100.
Still missing: The web interface should also display the version.