Skip to content

Commit

Permalink
Avoid conflict in branch names used when vendor package PRs (#1259)
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored Feb 7, 2025
1 parent 8e35e08 commit b6f03da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ def create_pr_for_vendor_package(args, repo_path, base_branch) -> str:
if not _out.decode():
return 'vendor tool did not produce any change, avoid the PR'

branch_name = f'releasepy/{args.version}'
branch_name = f'releasepy/{base_branch}/{args.version}'
vendor_repo = get_vendor_repo_url(args.package)
branch_cmd = ['git', "-C", repo_path,
'checkout', '-b', branch_name]
Expand Down

0 comments on commit b6f03da

Please sign in to comment.