mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 08:20:28 +03:00
Support AutoUpdateMode: Version without pattern
Since 24dd6740 UpdateCheckMode: Tags uses the found tag instead of
regenerating it from the AutoUpdateMode pattern making the pattern
superfluous. This adds support for dropping the pattern and a test case.
This commit is contained in:
parent
4c339b4ef4
commit
185da60d93
3 changed files with 34 additions and 2 deletions
|
|
@ -492,7 +492,7 @@ def checkupdates_app(app):
|
|||
logging.warning("Can't auto-update app with no CurrentVersionCode: " + app.id)
|
||||
elif mode in ('None', 'Static'):
|
||||
pass
|
||||
elif mode.startswith('Version '):
|
||||
elif mode.startswith('Version'):
|
||||
pattern = mode[8:]
|
||||
suffix = ''
|
||||
if pattern.startswith('+'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue