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:
parent
0c79ac54e6
commit
6855b6c442
@ -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']))
|
||||
|
Loading…
Reference in New Issue
Block a user