[FIX] pull submodule : use str instead of Posix path
This commit is contained in:
parent
2f5f1edaf0
commit
ee8fb9bd1a
|
|
@ -36,12 +36,18 @@ def pull_submodule(ctx, versions):
|
|||
"-b",
|
||||
str(version_cfg["repo_branch"]),
|
||||
version_cfg["repo_url"],
|
||||
submodule_path,
|
||||
str(submodule_path),
|
||||
]
|
||||
)
|
||||
else:
|
||||
execute_check_output(
|
||||
["git", "pull", "origin", str(version_cfg["repo_branch"])],
|
||||
[
|
||||
"git",
|
||||
"pull",
|
||||
"origin",
|
||||
str(version_cfg["repo_branch"]),
|
||||
"--rebase",
|
||||
],
|
||||
working_directory=submodule_path,
|
||||
)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user