Verified Commit 41ce0fab authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Fix release links creation

parent 8b7b6054
Pipeline #1877 failed with stages
in 38 minutes and 46 seconds
......@@ -69,16 +69,16 @@ tag_release:
- pacman -Syu --needed --noconfirm httpie
script:
- >
export ASSET_LINKS="[
{ \"name\": \"Vagrant Cloud Release\", \"url\": \"https://app.vagrantup.com/archlinux/boxes/archlinux/versions/$BUILD_VERSION\" },
{ \"name\": \"qcow2 Image\", \"url\": \"https://gitlab.archlinux.org/archlinux/arch-boxes/-/jobs/artifacts/master/raw/output/Arch-Linux-x86_64-cloudimg-$BUILD_VERSION.qcow2?job=build:secure\" }
]"
export ASSET_LINKS="{ \"links\": [ \
{ \"name\": \"Vagrant Cloud Release\", \"url\": \"https://app.vagrantup.com/archlinux/boxes/archlinux/versions/$BUILD_VERSION\" }, \
{ \"name\": \"qcow2 Image\", \"url\": \"https://gitlab.archlinux.org/archlinux/arch-boxes/-/jobs/artifacts/master/raw/output/Arch-Linux-x86_64-cloudimg-$BUILD_VERSION.qcow2?job=build:secure\" } \
]}"
- http --ignore-stdin "$CI_API_V4_URL/projects/$CI_PROJECT_ID/releases"
"JOB-TOKEN:$CI_JOB_TOKEN"
"name=v$BUILD_VERSION"
"tag_name=v$BUILD_VERSION"
"ref=$CI_COMMIT_SHA"
"assets.links=$ASSET_LINKS"
"assets:=$ASSET_LINKS"
publish:
stage: publish
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment