Skip to content
Snippets Groups Projects
Commit eadc9379 authored by Brian Lewis's avatar Brian Lewis
Browse files

Add filepath for direct linking (hopefully)

parent 155fcc5c
No related branches found
No related tags found
2 merge requests!2Ingest different DRS formats,!1Ingest
Pipeline #17398 canceled
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -7,7 +7,7 @@ stages:
variables:
BINARY_NAME: "freva-ingest"
VERSION: "${CI_COMMIT_TAG}"
LINUX_AMD64_BINARY: "${BINARY_NAME}-linux-amd64-${VERSION}"
LINUX_AMD64_BINARY: "${BINARY_NAME}-linux-amd64"
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/freva/freva-ingest/${PACKAGE_VERSION}"
default:
......@@ -62,4 +62,8 @@ release:
script:
- |
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
--assets-link "{\"name\":\"${LINUX_AMD64_BINARY}\",\"url\":\"${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}\"}"
--assets-link "{\
\"name\":\"${LINUX_AMD64_BINARY}\",\
\"url\":\"${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}\
\"filepath\":\"binaries/${LINUX_AMD64_BINARY}"\
\"}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment