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 a27721c commit 8e9cd8a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions emci/bot/bump_recipes_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ def bump_recipe_version(recipe_dir, target_pr_branch_name):
automerge = True


branch_name = f"bump-{name}_{current_version}_to_{new_version}"
if target_pr_branch_name != "main":
branch_name = f"{target_pr_branch_name}_{target_pr_branch_name}"
branch_name = f"bump-{name}_{current_version}_to_{new_version}_for_{target_pr_branch_name}"


with git_branch_ctx(branch_name, stash_current=False):
Expand Down Expand Up @@ -231,7 +229,7 @@ def user_ctx(user, email, bypass=False):
subprocess.check_output(['git', 'config', '--unset', 'user.email'])


def bump_recipe_versions(recipe_dir, pr_target_branch, use_bot=True, pr_limit=1):
def bump_recipe_versions(recipe_dir, pr_target_branch, use_bot=True, pr_limit=10):
print(f"Bumping recipes in {recipe_dir} to {pr_target_branch}")
# empty context manager
@contextlib.contextmanager
Expand Down

0 comments on commit 8e9cd8a

Please sign in to comment.