mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Merge branch 'jmastr/use_tag_if_version_name_is_unknown' into 'master'
use tag if version name is unknown If we don't find the version name neither in the AndroidManifest.xml nor in the build.grade file, we fallback to the tag the user specified to search for. That way we have a better version name than 'Unknown'. See merge request !97
This commit is contained in:
commit
1f59d6f0cf
@ -388,6 +388,8 @@ def checkupdates_app(app, first=True):
|
||||
if mode.startswith('Tags'):
|
||||
pattern = mode[5:] if len(mode) > 4 else None
|
||||
(version, vercode, tag) = check_tags(app, pattern)
|
||||
if version == 'Unknown':
|
||||
version = tag
|
||||
msg = vercode
|
||||
elif mode == 'RepoManifest':
|
||||
(version, vercode) = check_repomanifest(app)
|
||||
|
Loading…
Reference in New Issue
Block a user