Skip to content

Commit

Permalink
Print PR information to debug release matching logic
Browse files Browse the repository at this point in the history
  • Loading branch information
rvermeulen committed Sep 20, 2023
1 parent 1f333de commit 5c2123e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/release/update-release-assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ def main(args: 'argparse.Namespace') -> int:
print(f"Error: PR {pull_request.url} is not open", file=sys.stderr)
return 1

print(f"Found PR {pull_request.url} based on {pull_request.base.ref}")

rc_branch_regex = r"^rc/(?P<version>.*)$"
rc_branch_match = re.match(rc_branch_regex, pull_request.base.ref)
if not rc_branch_match:
Expand Down

0 comments on commit 5c2123e

Please sign in to comment.