mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Don't take placeholders commits as possible tags
This commit is contained in:
parent
edd3a787aa
commit
3b7b8b9bde
@ -178,8 +178,9 @@ def main():
|
|||||||
|
|
||||||
# Potentially incorrect UCM
|
# Potentially incorrect UCM
|
||||||
if (curbuild and curbuild['commit']
|
if (curbuild and curbuild['commit']
|
||||||
and app['Update Check Mode'] == 'RepoManifest' and
|
and app['Update Check Mode'] == 'RepoManifest'
|
||||||
any(s in curbuild['commit'] for s in '.,_-/')):
|
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'" % (
|
pwarn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
|
||||||
curbuild['commit'], app['Update Check Mode']))
|
curbuild['commit'], app['Update Check Mode']))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user