mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
--latest now goes to the last enabled build
This commit is contained in:
parent
228ed8eac9
commit
bebadde877
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue