summaryrefslogtreecommitdiff
path: root/release.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2022-11-30 20:40:48 -0500
committerGitHub <noreply@github.com>2022-11-30 19:40:48 -0600
commitab2aff3b43a7ee7b49acad7aa7ab71b2ac3e6a75 (patch)
tree0f0f93e62c2f3a24229efca9703367d14afa78e0 /release.py
parent6909cda39cf94346f405a277df62317da05a3c08 (diff)
downloadcryptography-ab2aff3b43a7ee7b49acad7aa7ab71b2ac3e6a75.tar.gz
be careful to only publish wheels from the right CI run (#7865)
Diffstat (limited to 'release.py')
-rw-r--r--release.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release.py b/release.py
index 79ba0b7bc..e7445d951 100644
--- a/release.py
+++ b/release.py
@@ -82,8 +82,8 @@ def fetch_github_actions_artifacts(token, version):
response = session.get(
(
- "https://api.github.com/repos/pyca/cryptography/actions/workflows/"
- "wheel-builder.yml/runs?event=push"
+ f"https://api.github.com/repos/pyca/cryptography/actions"
+ f"/workflows/wheel-builder.yml/runs?event=push&branch={version}"
),
headers={
"Content-Type": "application/json",