Remove __get_base_artifact_release_url()
This commit is contained in:
parent
f3bf8cb335
commit
911158f882
1 changed files with 2 additions and 3 deletions
|
@ -13,9 +13,6 @@ class ArtifactDeploymentService:
|
||||||
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"])
|
||||||
# Get release id from response
|
# Get release id from response
|
||||||
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue