Skip to content

Commit 031c11f

Browse files
authored
Update bump_recipes_versions.py
1 parent 8bff2d8 commit 031c11f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

emci/bot/bump_recipes_versions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,11 @@ def empty_context_manager():
257257
print(f"swichting from {current_branch_name} to {pr_target_branch}")
258258
# switch to the target branch
259259
subprocess.run(['git', 'stash'], check=False)
260+
print(f"fetch {pr_target_branch}")
261+
subprocess.check_output(['git', 'fetch', 'origin', pr_target_branch])
262+
print(f"checkout {pr_target_branch}")
260263
subprocess.check_output(['git', 'checkout', pr_target_branch])
264+
print("checkout done")
261265

262266
assert get_current_branch_name() == pr_target_branch
263267

0 commit comments

Comments
 (0)