update
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
"deployment": {
|
||||
"type": "native"
|
||||
},
|
||||
"locinstallationation": {
|
||||
"installation": {
|
||||
"host_type": "local"
|
||||
},
|
||||
"tags": [],
|
||||
|
||||
@@ -23,6 +23,9 @@ def main():
|
||||
gitea_instance = GiteaApi()
|
||||
gitea_utils = GiteaUtils(gitea_instance)
|
||||
assets = gitea_utils.get_release(**params).assets
|
||||
if not os.path.isfile(params["attachment_path"]):
|
||||
print(f"File {params['attachment_path']} does not exist")
|
||||
exit(1)
|
||||
gitea_utils.update_release(**params)
|
||||
for asset in assets:
|
||||
if asset.name == "registry.zip":
|
||||
|
||||
Reference in New Issue
Block a user