Skip to content

Commit

Permalink
test: strip PR prefix from PR number in build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleas-k committed Nov 28, 2023
1 parent dcc85af commit d9a7f01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/scripts/upload-results
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def main():
with open(info_path, "r") as info_fp:
build_info = json.load(info_fp)
build_info["pr"] = pr_number
# strip the PR prefix
pr_number = pr_number.lstrip("PR-")
with open(info_path, "w") as info_fp:
json.dump(build_info, info_fp, indent=2)

Expand Down

0 comments on commit d9a7f01

Please sign in to comment.