From 914a5839abd6f258af42ce6f7bb3bf1be915f03f Mon Sep 17 00:00:00 2001 From: Jamal Kaabi-Mofrad Date: Wed, 13 Nov 2019 00:38:53 +0000 Subject: [PATCH] AUTH-420: Fixed zip file upload. --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index c4c7467..5404369 100644 --- a/release.sh +++ b/release.sh @@ -94,4 +94,4 @@ log_info "Uploading '$DISTRIBUTION_NAME' asset... " # Add asset name to the URL UPLOAD_ASSET_URL="$UPLOAD_URL?name=$(basename $DISTRIBUTION_NAME)" # Upload asset -curl $UPLOAD_ASSET_URL -u "$AUTH" -H "Content-Type: application/octet-stream" -F "file=@$DISTRIBUTION_NAME" +curl $UPLOAD_ASSET_URL -u "$AUTH" -H "Content-Type: application/octet-stream" --data-binary @"$DISTRIBUTION_NAME"