Commit 5deff967 authored by Vivien Kraus's avatar Vivien Kraus

Debug the release CI

parent 1088c198
Pipeline #109446 passed with stages
in 5 minutes and 7 seconds
......@@ -110,13 +110,14 @@ if test "x$CI_COMMIT_TAG" != "x"
then
cd $SOURCE_TOP
TARFILE=$(ls dist/tarot-*.tar.gz)
URL=$(curl \
UPLOAD_STATUS=$(curl \
--request POST \
--header "PRIVATE-TOKEN: $PRIVATE_TOKEN" \
--form \
"file=@$TARFILE" "$CI_API_V4_URL/projects/$CI_PROJECT_ID")
URL=$(echo "UPLOAD_STATUS" | jq -r '.name')
echo "Upload: $URL"
echo "Upload $TARFILE to $CI_API_V4_URL/projects/$CI_PROJECT_ID: $UPLOAD_STATUS"
NAME="Tarot release"
TAG_NAME="$CI_COMMIT_TAG"
......
Markdown is supported
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