mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-21 19:57:19 -04:00
Also warn about HEAD, ignore disabled builds
This commit is contained in:
1 parent
1af98e9f09
commit
2845cb56cc
1 file changed
+3
-1
@@ -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']))
|
||||
|
||||
Reference in new issue
Block a user