We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1db9ac commit b1cbcf2Copy full SHA for b1cbcf2
mbed/mbed.py
@@ -816,6 +816,7 @@ def gettags(rev=None):
816
for ref in refs:
817
m = re.match(r'^(.+)\s+refs\/tags\/(.+)$', ref)
818
if m and (not rev or m.group(1).startswith(rev)):
819
+ t = m.group(2)
820
if re.match(r'^(.+)\^\{\}$', t): # detect tag "pointer"
821
t = re.sub(r'\^\{\}$', '', t) # remove "pointer" chars, e.g. some-tag^{}
822
for tag in tags:
0 commit comments