Fix release validation for repos with submodules
This commit is contained in:
parent
b0f32affcb
commit
4a25435f7a
@ -162,6 +162,9 @@ def cloneRepo(urlstr, ref=None, recursive=False):
|
|||||||
origin.fetch()
|
origin.fetch()
|
||||||
origin.pull(ref)
|
origin.pull(ref)
|
||||||
|
|
||||||
|
for submodule in repo.submodules:
|
||||||
|
submodule.update(init=True)
|
||||||
|
|
||||||
return gitDir, repo
|
return gitDir, repo
|
||||||
|
|
||||||
except GitCommandError as e:
|
except GitCommandError as e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user