mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +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:
parent
0a67730d0f
commit
9854c18c5d
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user