mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
checkupdates: ignore tags where manifest doesn't exist
This commit is contained in:
parent
d1647acc50
commit
cf1ff3a0da
@ -66,11 +66,13 @@ def check_tags(app, sdk_path):
|
||||
for tag in vcs.gettags():
|
||||
vcs.gotorevision(tag)
|
||||
|
||||
version, vercode, package = common.parse_androidmanifest(manifest)
|
||||
if package and package == app['id'] and version and vercode:
|
||||
if int(vercode) > int(hcode):
|
||||
hcode = str(int(vercode))
|
||||
hver = version
|
||||
# Only process tags where the manifest exists...
|
||||
if os.path.exists(manifest):
|
||||
version, vercode, package = common.parse_androidmanifest(manifest)
|
||||
if package and package == app['id'] and version and vercode:
|
||||
if int(vercode) > int(hcode):
|
||||
hcode = str(int(vercode))
|
||||
hver = version
|
||||
|
||||
if hver:
|
||||
return (hver, hcode)
|
||||
|
Loading…
Reference in New Issue
Block a user