mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Revert "Keep version names even if found separate from the code"
This reverts commit 75381ef147
.
This commit is contained in:
parent
04b61302dc
commit
5500787935
@ -861,12 +861,12 @@ def parse_androidmanifests(paths, ignoreversions=None):
|
|||||||
max_version = None
|
max_version = None
|
||||||
max_vercode = None
|
max_vercode = None
|
||||||
max_package = None
|
max_package = None
|
||||||
version = None
|
|
||||||
vercode = None
|
|
||||||
|
|
||||||
for path in paths:
|
for path in paths:
|
||||||
|
|
||||||
gradle = has_extension(path, 'gradle')
|
gradle = has_extension(path, 'gradle')
|
||||||
|
version = None
|
||||||
|
vercode = None
|
||||||
# Remember package name, may be defined separately from version+vercode
|
# Remember package name, may be defined separately from version+vercode
|
||||||
package = max_package
|
package = max_package
|
||||||
|
|
||||||
@ -906,7 +906,7 @@ def parse_androidmanifests(paths, ignoreversions=None):
|
|||||||
max_version = "Ignore"
|
max_version = "Ignore"
|
||||||
|
|
||||||
if max_version is None:
|
if max_version is None:
|
||||||
max_version = version if version else "Unknown"
|
max_version = "Unknown"
|
||||||
|
|
||||||
return (max_version, max_vercode, max_package)
|
return (max_version, max_vercode, max_package)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user