Skip to content

Commit

Permalink
Fix release.py ssh clone URL for vendor packages
Browse files Browse the repository at this point in the history
  • Loading branch information
j-rivero committed Oct 10, 2024
1 parent 6826bdd commit 9df4e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ def get_vendor_github_repo(package_name) -> str:
def get_vendor_repo_url(package_name) -> str:
# Clone needs ssh for real pushing operations. In simulation prefer https to avoid
# unexpected pushes and facilitate testing
protocol = 'https://github.com/' if DRY_RUN else 'ssh://[email protected]:'
return f"{protocol}{get_vendor_github_repo(package_name)}"
protocol = 'https://github.com' if DRY_RUN else 'ssh://[email protected]'
return f"{protocol}/{get_vendor_github_repo(package_name)}"


def prepare_vendor_pr_temp_workspace(package_name, ws_dir) -> Tuple[str, str, str]:
Expand Down

0 comments on commit 9df4e19

Please sign in to comment.