Many repositories use lightweight (non-annotated) tags. This patch
eliminates the scary warning that no tags were found, even if there were
tags available.
This makes the script match the behavior of cog itself (i.e., git
describe --tags --abbrev=0) [1].
Many repositories use lightweight (non-annotated) tags. This patch eliminates the scary warning that no tags were found, even if there were tags available.
This makes the script match the behavior of
cog
itself (i.e., git describe --tags --abbrev=0) [1].Closes: #11 Signed-off-by: Luke Hsiao luke.hsiao@numbersstation.ai