Fix issue in "make update" checking out submodule branch on buildbot
This commit is contained in:
parent
3f97d62072
commit
2b35ee3ea2
|
@ -181,6 +181,7 @@ def submodules_update(args, release_version, branch):
|
|||
skip_msg += submodule_path + " skipped: " + msg + "\n"
|
||||
else:
|
||||
if make_utils.git_branch(args.git_command) != submodule_branch:
|
||||
call([args.git_command, "fetch", "origin"])
|
||||
call([args.git_command, "checkout", submodule_branch])
|
||||
call([args.git_command, "pull", "--rebase", "origin", submodule_branch])
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue