1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-15 10:50:09 +02:00

Support hex in versionCode with UCM RepoManifest

Same a b83c3c9e.
This commit is contained in:
Jochen Sprickerhof 2021-06-07 12:44:43 +02:00
parent 133b626b22
commit ed2da42eff

View File

@ -266,9 +266,10 @@ def check_repomanifest(app, branch=None):
if vercode:
logging.debug("Manifest exists in subdir '{0}'. Found version {1} ({2})"
.format(subdir, version, vercode))
if int(vercode) > int(hcode):
i_vercode = common.version_code_string_to_int(vercode)
if i_vercode > common.version_code_string_to_int(hcode):
hpak = package
hcode = str(int(vercode))
hcode = str(i_vercode)
hver = version
if not hpak: