update
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "bifrost",
|
||||
"name": "Bifrost",
|
||||
"description": "Bifrost is a platform for building and deploying applications....",
|
||||
"description": "Bifrost is a platform for building and deploying applications.",
|
||||
"deployment": {
|
||||
"type": "native"
|
||||
},
|
||||
|
||||
@@ -3,6 +3,7 @@ from gitea.config import GiteaConfig
|
||||
import giteapy
|
||||
import os
|
||||
import json
|
||||
from datetime import datetime
|
||||
|
||||
|
||||
def main():
|
||||
@@ -22,6 +23,15 @@ def main():
|
||||
repo=repo,
|
||||
id=release_id, # Release ID
|
||||
)
|
||||
|
||||
update_release_response = repo_instance.repo_edit_release(
|
||||
owner=owner,
|
||||
repo=repo,
|
||||
id=release_id, # Release ID
|
||||
body=giteapy.EditReleaseOption(
|
||||
name=f"Bifrost Registry {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}"
|
||||
),
|
||||
)
|
||||
assets = get_release_response.assets
|
||||
attachment_id = None
|
||||
for asset in assets:
|
||||
|
||||
Reference in New Issue
Block a user