From 2469fd2f5bacfc944df9463c4869a92091cbfb29 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 11 Aug 2023 14:46:25 +0200 Subject: [PATCH] [Skip-CI] Rename function --- src/main/python/ddadevops/infrastructure/infrastructure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/python/ddadevops/infrastructure/infrastructure.py b/src/main/python/ddadevops/infrastructure/infrastructure.py index 5a7ab9a..0a41221 100644 --- a/src/main/python/ddadevops/infrastructure/infrastructure.py +++ b/src/main/python/ddadevops/infrastructure/infrastructure.py @@ -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