freifunk-gluon / gluon

a modular framework for creating OpenWrt-based firmwares for wireless mesh nodes
https://gluon.readthedocs.io
Other
553 stars 325 forks source link

scripts: add --tags to git describe in getversion.sh to include lightweighted tags #3310

Closed misanthropos closed 3 months ago

misanthropos commented 4 months ago

This flag allows to get the latest non annotated tag in e.g. site repositories.

neocturne commented 4 months ago

We only use annotated tags in Gluon, which are always used by git describe. So I guess this is about site repos which use lightweight tags?

misanthropos commented 4 months ago

We only use annotated tags in Gluon, which are always used by git describe. So I guess this is about site repos which use lightweight tags?

Indeed! I stumbled upon this while using gluon-info which reported a rather old site config version.