mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-10-26 19:01:53 -04:00
Fix error message when no specified artifacts were available for fetch
This commit is contained in:
parent
de61652d37
commit
d6cf59dcc8
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue