1
0
Fork 0
forked from glenux/mfm

ci: fix file upload command

This commit is contained in:
Glenn Y. Rolland 2023-10-25 15:27:55 +02:00
parent e90b9a2a4c
commit ffe68d8658

View file

@ -53,7 +53,7 @@ steps:
curl -H "Authorization: token $PACKAGE_UPLOAD_TOKEN" \ curl -H "Authorization: token $PACKAGE_UPLOAD_TOKEN" \
-H "accept: application/json" \ -H "accept: application/json" \
-H "Content-Type: multipart/form-data" \ -H "Content-Type: multipart/form-data" \
--upload-file "attachment=@/_cache/bin/$PACKAGE_BASENAME" \ -F "attachment=@/_cache/bin/$PACKAGE_BASENAME" \
"$RELEASES_URL/$DRONE_TAG/assets?name=$PACKAGE_BASENAME" "$RELEASES_URL/$DRONE_TAG/assets?name=$PACKAGE_BASENAME"