From 4dd774bc1ad9fd9132d86aa6c57a75acaed13804 Mon Sep 17 00:00:00 2001 From: Antti Soininen Date: Wed, 22 May 2024 08:20:46 +0300 Subject: [PATCH] Fix expected artifact file name --- generate_readme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_readme.py b/generate_readme.py index 45d5528..3117db3 100644 --- a/generate_readme.py +++ b/generate_readme.py @@ -61,7 +61,7 @@ def request_artifacts() -> list[Artifact]: response = raw_response.json() response_artifacts = response["artifacts"] for response_artifact in response_artifacts: - if response_artifact["expired"] or not response_artifact["name"].startswith("Spine-Toolbox-win "): + if response_artifact["expired"] or not response_artifact["name"].startswith("Spine-Toolbox-win"): continue workflow_run = response_artifact["workflow_run"] if workflow_run["head_branch"] != "master":