chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
228ed8e
)
--latest now goes to the last enabled build
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 20 Jan 2014 08:58:17 +0000
(09:58 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 20 Jan 2014 08:58:17 +0000
(09:58 +0100)
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index 4ec8468627096f338eb889f0a4f1d3cea1ecc8d1..722fd4aa00105d9d5ecdaac118040e3dc874f47f 100644
(file)
--- a/
fdroidserver/build.py
+++ b/
fdroidserver/build.py
@@
-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