Commit a357872d authored by Ivaria's avatar Ivaria

GitLab v4 API projects/:id/uploads call requires explicit POST

parent a18afa6a
......@@ -2451,7 +2451,7 @@ if [ -z "$skip_upload" ]; then
_glf_resultfile="$releasedir/gl_asset_result.json"
_glf_exit_code=0
echo -n "Uploading $_glf_file_name to GitLab... "
result=$( curl -sS --retry 3 --retry-delay 10 \
result=$( curl -sS --retry 3 --retry-delay 10 --request POST \
-w "%{http_code}" -o "$_glf_resultfile" \
-H "PRIVATE-TOKEN: $gitlab_token" \
-F "file=@$_glf_file_path" \
......
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