Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

update zenodo/citation stuff

jonmatthisf4e184137250
diff --git a/.github/scripts/publish_to_zenodo.py b/.github/scripts/publish_to_zenodo.py
index 477e54e2..ccfe0931 100644
--- a/.github/scripts/publish_to_zenodo.py
+++ b/.github/scripts/publish_to_zenodo.py
@@ -129,9 +129,9 @@ def main():
response = requests.get(source_zip_url, timeout=900)
if response.status_code != 200:
die(f"Failed to download source archive {source_zip_url}", response)
+ file_name = f"{repo_name}-{tag}.zip"
response = requests.put(
- draft["links"]["bucket"],
- params={"name": f"{repo_name}-{tag}.zip"},
+ f"{draft['links']['bucket']}/{file_name}",
data=response.content,
headers={"Authorization": f"Bearer {token}", "Content-Type": "application/octet-stream"},
timeout=1800,