Skip to content
Snippets Groups Projects
Commit bb60b98a authored by Nicolas Borboën's avatar Nicolas Borboën
Browse files

No warning when not needed

parent f47e71d7
Branches
Tags v1567183276 v1567414514 v1567414643
No related merge requests found
Pipeline #16715 passed
......@@ -37,7 +37,7 @@ git remote set-url origin "git@gitlab.epfl.ch:idevelop/howtogitlabrunner.git"
git push -f --tags
echo "END OF PUSH"
tee_stderr="perl -pe STDERR->print(\$_);warn(\$!)"
tee_stderr="perl -pe STDERR->print(\$_);warn(\$!)if(\$!)"
echo "BEGIN UPLOAD"
UPLOADED_FILE_URL="$(curl --request POST --header "Private-Token: ${MY_TOKEN}" --form "file=@README.pdf" "https://gitlab.epfl.ch/api/v4/projects/$PROJECT_ID/uploads" | $tee_stderr | jq -r .url)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment