Fix error message when no specified artifacts were available for fetch

This commit is contained in:
Mark Qvist
2026-05-21 16:34:34 +02:00
parent de61652d37
commit d6cf59dcc8
+1
View File
@@ -947,6 +947,7 @@ class ReticulumGitClient():
manifest_out = os.path.basename(f"{release_name}_{release_version}.{self.MSG_EXT}")
with open(manifest_out, "wb") as fh: fh.write(rsg)
fetch_artifacts = []
artifacts = release_meta.get("artifacts", [])
if not artifacts: self.abort("Release manifest contains no artifacts")
if artifact == "all": fetch_artifacts = artifacts