mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
lint: take forcevercode into account for UCM warnings
This commit is contained in:
parent
d0a10e05d9
commit
5af099eb08
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue