Commit 2f6c4055 authored by Vivien Kraus's avatar Vivien Kraus

Debug...

parent 4b77ede4
Pipeline #109492 passed with stages
in 6 minutes and 48 seconds
......@@ -126,8 +126,8 @@ then
FULL_URL="${SERVER}${URL}"
LINK="{\"name\": \"$TARFILE\", \"url\": \"$FULL_URL\"}"
ASSETS="{\"links\": [$LINK]}"
DESCRIPTION_ESCAPED=$(echo "$DESCRIPTION" | jq -R --slurp .)
DATA="{\"name\": \"$NAME\", \"tag_name\": \"$TAG_NAME\", \"description\": \"$DESCRIPTION_ESCAPED\", \"assets\": $ASSETS}"
DESCRIPTION_ESCAPED=$(echo "$DESCRIPTION" | jq -R --slurp '.')
DATA="{\"name\": \"$NAME\", \"tag_name\": \"$TAG_NAME\", \"description\": $DESCRIPTION_ESCAPED, \"assets\": $ASSETS}"
echo "POSTing $DATA to $CI_API_V4_URL/projects/$CI_PROJECT_ID/releases"
......
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