ci: fix file upload command
All checks were successful
continuous-integration/drone/tag Build is passing

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"