Merge branch 'checkupdatesubmodule' into 'master'

checkupdate: run deinit submodule before checkout

See merge request fdroid/fdroidserver!1805
This commit is contained in:
linsui
2026-04-27 17:07:53 +00:00

View File

@@ -165,8 +165,6 @@ def check_tags(app: metadata.App, pattern: str) -> tuple[str, int, str]:
last_build = get_last_build_from_app(app)
try_init_submodules(app, last_build, vcs)
htag = None
hver = None
hcode = 0
@@ -193,6 +191,7 @@ def check_tags(app: metadata.App, pattern: str) -> tuple[str, int, str]:
for tag in tags:
logging.debug("Check tag: '{0}'".format(tag))
vcs.deinitsubmodules()
vcs.gotorevision(tag)
try_init_submodules(app, last_build, vcs)