[Skip-CI] Rename function
This commit is contained in:
parent
39591c8aa9
commit
2469fd2f5b
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class ArtifactDeploymentApi:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.execution_api = ExecutionApi()
|
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}" '
|
return self.execution_api.execute_secure(f'curl -X "POST" "{target_url}" '
|
||||||
+ '-H "accept: application/json" -H "Content-Type: application/json" '
|
+ '-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
|
+ 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…
Reference in a new issue