From 9df4e19aa5cdd7b817522a3d20e271a7add686dc Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Thu, 10 Oct 2024 20:15:50 +0200 Subject: [PATCH] Fix release.py ssh clone URL for vendor packages --- release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.py b/release.py index 262851709..111d147f0 100755 --- a/release.py +++ b/release.py @@ -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://git@github.com:' - return f"{protocol}{get_vendor_github_repo(package_name)}" + protocol = 'https://github.com' if DRY_RUN else 'ssh://git@github.com' + return f"{protocol}/{get_vendor_github_repo(package_name)}" def prepare_vendor_pr_temp_workspace(package_name, ws_dir) -> Tuple[str, str, str]: