mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +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
|
|
@ -681,7 +681,7 @@ def trybuild(app, thisbuild, build_dir, output_dir, also_check_dir, srclib_dir,
|
|||
if os.path.exists(dest_also):
|
||||
return False
|
||||
|
||||
if thisbuild['commit'].startswith('!'):
|
||||
if thisbuild['commit'].startswith('!') or 'disable' in thisbuild:
|
||||
return False
|
||||
|
||||
print "Building version " + thisbuild['version'] + ' of ' + app['id']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue