OSX package: Create .zip rather than .dmg.

This commit is contained in:
John MacFarlane
2013-12-08 10:30:14 -08:00
parent 8e255fad98
commit fcc94c788b
3 changed files with 17 additions and 10 deletions
+2 -2
View File
@@ -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" \