mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
lint: Improve UCM:Tags warning
If the vercode is higher than CVC, then we're probably only following stable versions or something like that
This commit is contained in:
parent
7e529c495e
commit
a8ec149cd4
@ -141,7 +141,8 @@ def main():
|
||||
# Potentially incorrect UCM
|
||||
if (curbuild and curbuild['commit']
|
||||
and app['Update Check Mode'] == 'RepoManifest'
|
||||
and curbuild['commit'] != 'unknown - see disabled'
|
||||
and not curbuild['commit'].startswith('unknown')
|
||||
and curbuild['vercode'] == app['Current Version Code']
|
||||
and any(s in curbuild['commit'] for s in '.,_-/')):
|
||||
pwarn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
|
||||
curbuild['commit'], app['Update Check Mode']))
|
||||
|
Loading…
Reference in New Issue
Block a user