mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Also warn about HEAD, ignore disabled builds
This commit is contained in:
parent
1af98e9f09
commit
2845cb56cc
1 changed files with 3 additions and 1 deletions
|
@ -226,7 +226,9 @@ def main():
|
|||
|
||||
# Build warnings
|
||||
for build in app['builds']:
|
||||
for s in ['master', 'origin/', 'default', 'trunk']:
|
||||
if build['disable']:
|
||||
continue
|
||||
for s in ['master', 'origin', 'HEAD', 'default', 'trunk']:
|
||||
if build['commit'] and build['commit'].startswith(s):
|
||||
warn("Branch '%s' used as commit in build '%s'" % (
|
||||
s, build['version']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue