This commit is contained in:
2025-05-09 17:32:07 +07:00
parent c21ecf9c3b
commit c1c819e6d7
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"deployment": {
"type": "native"
},
"locinstallationation": {
"installation": {
"host_type": "local"
},
"tags": [],
+3
View File
@@ -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":