mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-06-08 14:11:53 -07:00
Fix error message when no specified artifacts were available for fetch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user