summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2015-07-14 19:30:56 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-22 08:23:49 +0100
commit4bbc5dd6e7454cc35c263707453a6725bc0d54a5 (patch)
treed34be05adbe4dc2b495cf31f31d12bf46ab180ea
parentbc0f1cfc0b67804075ae60f6c5eeaeacaf831391 (diff)
downloadpoky-4bbc5dd6e7454cc35c263707453a6725bc0d54a5.tar.gz
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>
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 31fd8a7206..706fff5691 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -374,7 +374,7 @@ class Git(FetchMethod):
374 verstring = "" 374 verstring = ""
375 tagregex = re.compile(d.getVar('GITTAGREGEX', True) or "(?P<pver>([0-9][\.|_]?)+)") 375 tagregex = re.compile(d.getVar('GITTAGREGEX', True) or "(?P<pver>([0-9][\.|_]?)+)")
376 try: 376 try:
377 output = self._lsremote(ud, d, "refs/tags/*^{}") 377 output = self._lsremote(ud, d, "refs/tags/*")
378 except bb.fetch2.FetchError or bb.fetch2.NetworkAccess: 378 except bb.fetch2.FetchError or bb.fetch2.NetworkAccess:
379 return "" 379 return ""
380 380