1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

version-info: allow unannotated tags

Unannotated (ie. movable) tags will now influence the
tag/hash reported in the version info blob attached to
the firmware image (.opf).
This commit is contained in:
Stacey Sheldon 2011-05-23 15:13:30 -04:00
parent 0a67730d0f
commit 9854c18c5d

View File

@ -69,7 +69,7 @@ class Repo:
def _get_tag(self):
"""Get and store git tag for the HEAD commit"""
self._tag = None
self._exec('describe --exact-match HEAD')
self._exec('describe --tags --exact-match HEAD')
if self._rc == 0:
self._tag = self._out.strip(' \t\n\r')