1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Don't warn about tags UCM usage if UCM:None

This commit is contained in:
Daniel Martí 2014-01-24 17:46:50 +01:00
parent 0c79ac54e6
commit 6855b6c442

View File

@ -88,7 +88,7 @@ def main():
lastcommit = build['commit']
# Potentially incorrect UCM
if (app['Update Check Mode'] in ['RepoManifest', 'None'] and
if (app['Update Check Mode'].startswith('RepoManifest') and
any(s in lastcommit for s in ('.', ',', '_', '-', '/'))):
warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
lastcommit, app['Update Check Mode']))