From adaa782c8f1816e2b78e07b20623a43377d329e8 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Sat, 9 Apr 2016 17:28:21 -0700 Subject: [PATCH] Correctly set Content-type header --- package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.sh b/package.sh index a64b9efa..364ae0ba 100755 --- a/package.sh +++ b/package.sh @@ -46,4 +46,4 @@ if [ -z "$API_TOKEN" ]; then fi upload_url="https://uploads.github.com/repos/otoolep/rqlite/releases/$RELEASE_ID/assets" -curl -v -H "Context-type: application/octet-stream" -H "Authorization: token $API_TOKEN" -XPOST $upload_url?name=$release_pkg --data-binary @$release_pkg +curl -v -H "Content-type: application/octet-stream" -H "Authorization: token $API_TOKEN" -XPOST $upload_url?name=$release_pkg --data-binary @$release_pkg