mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-09 16:23:33 -04:00
Merge branch 'checkupdatesubmodule' into 'master'
checkupdate: run deinit submodule before checkout See merge request fdroid/fdroidserver!1805
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user