diff options
Diffstat (limited to 'meta/lib/oeqa/utils/gitarchive.py')
-rw-r--r-- | meta/lib/oeqa/utils/gitarchive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/gitarchive.py b/meta/lib/oeqa/utils/gitarchive.py index f9c152681d..2fe48cdcac 100644 --- a/meta/lib/oeqa/utils/gitarchive.py +++ b/meta/lib/oeqa/utils/gitarchive.py | |||
@@ -113,7 +113,7 @@ def get_tags(repo, log, pattern=None, url=None): | |||
113 | # First try to fetch tags from repository configured remote | 113 | # First try to fetch tags from repository configured remote |
114 | cmd.append('origin') | 114 | cmd.append('origin') |
115 | if pattern: | 115 | if pattern: |
116 | cmd.append(pattern) | 116 | cmd.append("refs/tags/"+pattern) |
117 | try: | 117 | try: |
118 | tags_refs = repo.run_cmd(cmd) | 118 | tags_refs = repo.run_cmd(cmd) |
119 | tags = ["".join(d.split()[1].split('/', 2)[2:]) for d in tags_refs.splitlines()] | 119 | tags = ["".join(d.split()[1].split('/', 2)[2:]) for d in tags_refs.splitlines()] |