Skip to content

Commit

Permalink
Update bump_recipes_versions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten authored Jan 14, 2025
1 parent 8bff2d8 commit 031c11f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions emci/bot/bump_recipes_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,11 @@ def empty_context_manager():
print(f"swichting from {current_branch_name} to {pr_target_branch}")
# switch to the target branch
subprocess.run(['git', 'stash'], check=False)
print(f"fetch {pr_target_branch}")
subprocess.check_output(['git', 'fetch', 'origin', pr_target_branch])
print(f"checkout {pr_target_branch}")
subprocess.check_output(['git', 'checkout', pr_target_branch])
print("checkout done")

assert get_current_branch_name() == pr_target_branch

Expand Down

0 comments on commit 031c11f

Please sign in to comment.