mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
lint: take forcevercode into account for UCM warnings
This commit is contained in:
parent
d0a10e05d9
commit
5af099eb08
@ -137,6 +137,7 @@ def main():
|
|||||||
and app['Update Check Mode'] == 'RepoManifest'
|
and app['Update Check Mode'] == 'RepoManifest'
|
||||||
and not curbuild['commit'].startswith('unknown')
|
and not curbuild['commit'].startswith('unknown')
|
||||||
and curbuild['vercode'] == app['Current Version Code']
|
and curbuild['vercode'] == app['Current Version Code']
|
||||||
|
and not curbuild['forcevercode']
|
||||||
and any(s in curbuild['commit'] for s in '.,_-/')):
|
and any(s in curbuild['commit'] for s in '.,_-/')):
|
||||||
warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
|
warn("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