finish register artifacts

This commit is contained in:
Michael Jerger 2023-08-14 18:55:30 +02:00
parent 45884d1032
commit 7aa45910e9

View file

@ -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,
)