mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
Only do the latest five tags when using UCM:Tags on git
This commit is contained in:
parent
3736da3761
commit
00fa44e916
2 changed files with 20 additions and 4 deletions
|
@ -123,6 +123,9 @@ def check_tags(app, pattern):
|
|||
pat = re.compile(pattern)
|
||||
tags = [tag for tag in tags if pat.match(tag)]
|
||||
|
||||
if repotype in ('git',):
|
||||
tags = vcs.latesttags(tags, 5)
|
||||
|
||||
for tag in tags:
|
||||
logging.debug("Check tag: '{0}'".format(tag))
|
||||
vcs.gotorevision(tag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue