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

Don't take placeholders commits as possible tags

This commit is contained in:
Daniel Martí 2015-03-05 15:25:21 +01:00
parent edd3a787aa
commit 3b7b8b9bde

View File

@ -178,8 +178,9 @@ def main():
# Potentially incorrect UCM
if (curbuild and curbuild['commit']
and app['Update Check Mode'] == 'RepoManifest' and
any(s in curbuild['commit'] for s in '.,_-/')):
and app['Update Check Mode'] == 'RepoManifest'
and curbuild['commit'] != 'unknown - see disabled'
and any(s in curbuild['commit'] for s in '.,_-/')):
pwarn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
curbuild['commit'], app['Update Check Mode']))