chiark / gitweb /
lint: take forcevercode into account for UCM warnings
[fdroidserver.git] / fdroidserver / lint.py
index 4a7134ff2041141ce1679b83aec8cd5b46b16448..f8d7d1a041cf31bb77fb9f498cb671bf500a5367 100644 (file)
@@ -137,6 +137,7 @@ def main():
                 and app['Update Check Mode'] == 'RepoManifest'
                 and not curbuild['commit'].startswith('unknown')
                 and curbuild['vercode'] == app['Current Version Code']
+                and not curbuild['forcevercode']
                 and any(s in curbuild['commit'] for s in '.,_-/')):
             warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
                 curbuild['commit'], app['Update Check Mode']))