summaryrefslogtreecommitdiff
path: root/github-upload.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-11 22:19:17 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:41 +0100
commitbe140ab496034f3b585d70859b652d4452ec3e03 (patch)
treed4991a972fd89ced29cb73ceaee1523951a6bd21 /github-upload.sh
parent00240ca7ed84c377880817c85c25dce8cfaff3cd (diff)
Moved extract-changes.hs and github-upload.sh to tools/.
Diffstat (limited to 'github-upload.sh')
-rwxr-xr-xgithub-upload.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/github-upload.sh b/github-upload.sh
deleted file mode 100755
index 875d51831..000000000
--- a/github-upload.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-VERSION=$1
-FULLNAME=pandoc-$VERSION
-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.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" \
- -H "Content-Type: application/x-msi" \
- --data-binary @$FULLNAME.msi \
- "https://uploads.github.com/repos/jgm/pandoc/releases/$VERSION/assets?name=$FULLNAME.msi"
-