mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
--latest now goes to the last enabled build
This commit is contained in:
parent
228ed8eac9
commit
bebadde877
@ -886,7 +886,11 @@ def main():
|
||||
|
||||
if options.latest:
|
||||
for app in apps:
|
||||
app['builds'] = app['builds'][-1:]
|
||||
for build in reversed(app['builds']):
|
||||
if 'disable' in build:
|
||||
continue
|
||||
app['builds'] = [ build ]
|
||||
break
|
||||
|
||||
if options.wiki:
|
||||
import mwclient
|
||||
|
Loading…
Reference in New Issue
Block a user