From bd8dba5e40353160b6e25e63022b89c3f443e5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Tue, 26 Dec 2023 08:21:02 +0100 Subject: [PATCH] Fix release script --- tools/github/download_github_artifacts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/github/download_github_artifacts.py b/tools/github/download_github_artifacts.py index 4424c0e009..55553dc05a 100755 --- a/tools/github/download_github_artifacts.py +++ b/tools/github/download_github_artifacts.py @@ -74,13 +74,13 @@ if "/artifacts/" not in artifactUrl: print("❌ Invalid parameter --artifactUrl %s. Must contain '/artifacts/'" % artifactUrl) exit(1) artifactItems = artifactUrl.split("/") -if len(artifactItems) != 9: +if len(artifactItems) != 10: print("❌ Invalid parameter --artifactUrl %s. Please check the format." % (artifactUrl)) exit(1) gitHubRepoOwner = artifactItems[3] gitHubRepo = artifactItems[4] -artifactId = artifactItems[8] +artifactId = artifactItems[9] if args.verbose: print("gitHubRepoOwner: %s, gitHubRepo: %s, artifactId: %s" % (gitHubRepoOwner, gitHubRepo, artifactId))