Remove __get_base_artifact_release_url()

This commit is contained in:
erik 2023-08-04 12:08:23 +02:00
parent f3bf8cb335
commit 911158f882

View file

@ -12,9 +12,6 @@ class ArtifactDeploymentService:
GitApi(), GitApi(),
ArtifactDeploymentApi(), ArtifactDeploymentApi(),
) )
def __get_base_artifact_release_url(self, base_url: str, organization: str, name: str) -> str:
return f"{base_url}/{organization}/{name}/releases"
def post_release(self, target_url: str, tag: str, credentials: Credentials): def post_release(self, target_url: str, tag: str, credentials: Credentials):
response = self.artifact_deployment_api.post_release(target_url, tag, credentials.mappings["token"]) response = self.artifact_deployment_api.post_release(target_url, tag, credentials.mappings["token"])
@ -25,3 +22,5 @@ class ArtifactDeploymentService:
def calculate_checksums(self, build_path: str): def calculate_checksums(self, build_path: str):
self.artifact_deployment_api.calculate_checksums(build_path) self.artifact_deployment_api.calculate_checksums(build_path)
# ToDo: Update release Id as in release_mixin_services.py