finish register artifacts
This commit is contained in:
parent
45884d1032
commit
7aa45910e9
1 changed files with 2 additions and 3 deletions
|
@ -88,12 +88,11 @@ class ReleaseService:
|
||||||
"type": "text/plain",
|
"type": "text/plain",
|
||||||
}]
|
}]
|
||||||
|
|
||||||
# TODO: use structure created above
|
|
||||||
for artifact in artifacts_to_attach:
|
for artifact in artifacts_to_attach:
|
||||||
self.artifact_deployment_api.add_asset_to_release(
|
self.artifact_deployment_api.add_asset_to_release(
|
||||||
release.forgejo_release_asset_api_endpoint(release_id),
|
release.forgejo_release_asset_api_endpoint(release_id),
|
||||||
"todo",
|
artifact["path"],
|
||||||
"todo",
|
artifact["type"],
|
||||||
release.release_artifact_token,
|
release.release_artifact_token,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue