From 7aa45910e9deb78e07e42c1e159820d52158d46d Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Mon, 14 Aug 2023 18:55:30 +0200 Subject: [PATCH] finish register artifacts --- .../python/ddadevops/application/release_mixin_services.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/python/ddadevops/application/release_mixin_services.py b/src/main/python/ddadevops/application/release_mixin_services.py index 8dccb2d..dd9d0d5 100644 --- a/src/main/python/ddadevops/application/release_mixin_services.py +++ b/src/main/python/ddadevops/application/release_mixin_services.py @@ -88,12 +88,11 @@ class ReleaseService: "type": "text/plain", }] - # TODO: use structure created above for artifact in artifacts_to_attach: self.artifact_deployment_api.add_asset_to_release( release.forgejo_release_asset_api_endpoint(release_id), - "todo", - "todo", + artifact["path"], + artifact["type"], release.release_artifact_token, )