diff --git a/bifrost.json b/bifrost.json index b4377ce..7be94e5 100644 --- a/bifrost.json +++ b/bifrost.json @@ -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" }, diff --git a/scripts/main.py b/scripts/main.py index 1a2c8ef..751cf54 100644 --- a/scripts/main.py +++ b/scripts/main.py @@ -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: