mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
checkupdates: no need to sort tags if len()<=5
This commit is contained in:
parent
37b13c37d5
commit
ece3317be0
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ def check_tags(app, pattern):
|
|||
tags = [tag for tag in tags if pat.match(tag)]
|
||||
logging.debug("Matching tags: " + ','.join(tags))
|
||||
|
||||
if repotype in ('git',):
|
||||
if len(tags) > 5 and repotype in ('git',):
|
||||
tags = vcs.latesttags(tags, 5)
|
||||
logging.debug("Latest tags: " + ','.join(tags))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue