[Skip-CI] Rename function

pull/1/head
erik 11 months ago
parent 39591c8aa9
commit 2469fd2f5b

@ -212,7 +212,7 @@ class ArtifactDeploymentApi:
def __init__(self):
self.execution_api = ExecutionApi()
def post_release(self, target_url: str, tag: str, token: str):
def create_forgejo_release(self, target_url: str, tag: str, token: str):
return self.execution_api.execute_secure(f'curl -X "POST" "{target_url}" '
+ '-H "accept: application/json" -H "Content-Type: application/json" '
+ f'-d "{{ "body": "Provides files for release {tag} Attention: The "Source Code"-files below are not up-to-date!", "tag_name": "{tag}"}}" ' # noqa: E501

Loading…
Cancel
Save