[ci] Add release link to uploaded package
This commit is contained in:
parent
3efd3128de
commit
d237c84f7d
@ -45,6 +45,8 @@ package_linux:
|
||||
upload:
|
||||
stage: deploy
|
||||
image: curlimages/curl:latest
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
script:
|
||||
- |
|
||||
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${LINUX_AMD64_BINARY}" "${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}"
|
||||
@ -60,3 +62,9 @@ release_job:
|
||||
tag_name: $CI_COMMIT_TAG
|
||||
name: 'Release $CI_COMMIT_TAG'
|
||||
description: 'Release created using the release-cli.'
|
||||
assets:
|
||||
links:
|
||||
- name: "${LINUX_AMD64_BINARY}"
|
||||
url: "${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}"
|
||||
filepath: "/bin/${LINUX_AMD64_BINARY}"
|
||||
link_type: package
|
||||
|
Loading…
Reference in New Issue
Block a user