diff --git a/build_branches.py b/build_branches.py index 09627f7d..ce821767 100755 --- a/build_branches.py +++ b/build_branches.py @@ -68,7 +68,7 @@ def process_branch_folders(): for branch_data in branches_data: if not branch_data["headRefName"].startswith("hosted/"): continue - branch_name = branch_data["headRefName"].split("hosted/", 1)[1] + branch_name = branch_data["headRefName"] pr_number = str(branch_data["number"]) target_path = os.path.join(common_dir, pr_number) os.makedirs(target_path, exist_ok=True)