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

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