Commit 05c215fb authored by Vivien Kraus's avatar Vivien Kraus

Debug...

parent 84575c44
Pipeline #109485 passed with stages
in 4 minutes and 36 seconds
......@@ -124,9 +124,9 @@ then
DESCRIPTION=$(git tag -l --format='%(contents)' "$CI_COMMIT_TAG")
SERVER=$(echo "$CI_API_V4_URL" | cut -d '/' -f 1)
FULL_URL="${SERVER}${URL}"
LINK="{\"name\": \"$TARFILE\", \"url\": \"$URL\"}"
LINK="{\"name\": \"$TARFILE\", \"url\": \"$FULL_URL\"}"
ASSETS="{\"links\": [$LINK]}"
DESCRIPTION_ESCAPED=$(printf "%q" "$DESCRIPTION")
DESCRIPTION_ESCAPED=$(echo "$DESCRIPTION" | jq -R .)
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