bitbake: fetch2/git.py: latest_versionstring search in all tags

Don't limit the tag search for only tags end with ^{}.

(Bitbake rev: 7006ab313766344cf33481228465082ed5977d28)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Aníbal Limón 2015-07-14 19:30:56 -05:00 committed by Richard Purdie
parent bc0f1cfc0b
commit 4bbc5dd6e7
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ class Git(FetchMethod):
verstring = ""
tagregex = re.compile(d.getVar('GITTAGREGEX', True) or "(?P<pver>([0-9][\.|_]?)+)")
try:
output = self._lsremote(ud, d, "refs/tags/*^{}")
output = self._lsremote(ud, d, "refs/tags/*")
except bb.fetch2.FetchError or bb.fetch2.NetworkAccess:
return ""