summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-07-24 11:03:59 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-07-24 11:03:59 -0400
commite87d2180079f42a6003d425f9486ee33d32a872d (patch)
treef445c58df54f0aee309c4ee545e43cb44f67d242 /ci
parent289222bd5ec1186ddae613cb74b59963ac3f87b8 (diff)
downloadpython-coveragepy-git-e87d2180079f42a6003d425f9486ee33d32a872d.tar.gz
build: generalize download_gha_artifacts so other repos can use it
Diffstat (limited to 'ci')
-rw-r--r--ci/download_gha_artifacts.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/download_gha_artifacts.py b/ci/download_gha_artifacts.py
index e47d4fb9..d3d2e932 100644
--- a/ci/download_gha_artifacts.py
+++ b/ci/download_gha_artifacts.py
@@ -6,6 +6,7 @@
import datetime
import os
import os.path
+import sys
import time
import zipfile
@@ -43,7 +44,7 @@ def utc2local(timestring):
return local.strftime("%Y-%m-%d %H:%M:%S")
dest = "dist"
-repo_owner = "nedbat/coveragepy"
+repo_owner = sys.argv[1]
temp_zip = "artifacts.zip"
if not os.path.exists(dest):