mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
Drop unused package id check
This commit is contained in:
parent
d05ff9db1d
commit
ba2b236e7b
@ -130,7 +130,6 @@ def check_tags(app, pattern):
|
|||||||
|
|
||||||
try_init_submodules(app, last_build, vcs)
|
try_init_submodules(app, last_build, vcs)
|
||||||
|
|
||||||
hpak = None
|
|
||||||
htag = None
|
htag = None
|
||||||
hver = None
|
hver = None
|
||||||
hcode = "0"
|
hcode = "0"
|
||||||
@ -171,13 +170,10 @@ def check_tags(app, pattern):
|
|||||||
.format(subdir, version, vercode))
|
.format(subdir, version, vercode))
|
||||||
i_vercode = common.version_code_string_to_int(vercode)
|
i_vercode = common.version_code_string_to_int(vercode)
|
||||||
if i_vercode > common.version_code_string_to_int(hcode):
|
if i_vercode > common.version_code_string_to_int(hcode):
|
||||||
hpak = package
|
|
||||||
htag = tag
|
htag = tag
|
||||||
hcode = str(i_vercode)
|
hcode = str(i_vercode)
|
||||||
hver = version
|
hver = version
|
||||||
|
|
||||||
if not hpak:
|
|
||||||
return (None, "Couldn't find package ID", None)
|
|
||||||
if hver:
|
if hver:
|
||||||
return (hver, hcode, htag)
|
return (hver, hcode, htag)
|
||||||
return (None, "Couldn't find any version information", None)
|
return (None, "Couldn't find any version information", None)
|
||||||
|
Loading…
Reference in New Issue
Block a user