mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Introduce disable= as a better way of disabling a build
Prefixing commit ID with ! and a message will still work, but that's very silly. Using disable= is now the correct way.
This commit is contained in:
parent
2aafda0154
commit
715035a707
4 changed files with 17 additions and 15 deletions
|
|
@ -86,9 +86,9 @@ def main():
|
|||
|
||||
for thisbuild in app['builds']:
|
||||
|
||||
if thisbuild['commit'].startswith('!'):
|
||||
if thisbuild['commit'].startswith('!') or 'disable' in thisbuild:
|
||||
print ("..skipping version " + thisbuild['version'] + " - " +
|
||||
thisbuild['commit'][1:])
|
||||
thisbuild.get('disable', thisbuild['commit'][1:]))
|
||||
else:
|
||||
print "..scanning version " + thisbuild['version']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue