summaryrefslogtreecommitdiff
path: root/github-upload.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-12-08 10:30:14 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-12-08 10:30:14 -0800
commitfcc94c788bc6f021da4df0f2e80ed4cff577d9a2 (patch)
tree5dae0addfe6d964049b641b8a999d56995039a40 /github-upload.sh
parent8e255fad98baf2448d8c1866d7c03c5d110a505f (diff)
OSX package: Create .zip rather than .dmg.
Diffstat (limited to 'github-upload.sh')
-rwxr-xr-xgithub-upload.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/github-upload.sh b/github-upload.sh
index 51000ae1d..875d51831 100755
--- a/github-upload.sh
+++ b/github-upload.sh
@@ -7,8 +7,8 @@ read -s -p "Token (https://github.com/settings/applications): " TOKEN
curl -H "Authorization: token $TOKEN" \
-H "Accept: application/vnd.github.manifold-preview" \
-H "Content-Type: application/x-apple-diskimage" \
- --data-binary @$FULLNAME.dmg \
- "https://uploads.github.com/repos/jgm/pandoc/releases/$VERSION/assets?name=$FULLNAME.dmg"
+ --data-binary @$FULLNAME.pkg.zip \
+ "https://uploads.github.com/repos/jgm/pandoc/releases/$VERSION/assets?name=$FULLNAME.pkg.zip"
curl -H "Authorization: token $TOKEN" \
-H "Accept: application/vnd.github.manifold-preview" \