aboutsummaryrefslogtreecommitdiffstats
path: root/README-maintainer
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-01-05 17:20:45 +0100
committerJay Berkenbilt <ejb@ql.org>2021-01-05 17:20:45 +0100
commit2c078337fa77e26554be817ead3cd080f31f6e9b (patch)
tree5600193b930279f2e63a9ed4e4cbff5019cc0567 /README-maintainer
parent0fed0403925ba906927c7770cf7440586d27f213 (diff)
downloadqpdf-2c078337fa77e26554be817ead3cd080f31f6e9b.tar.zst
Fix typo in release instructions
Diffstat (limited to 'README-maintainer')
-rw-r--r--README-maintainer4
1 files changed, 2 insertions, 2 deletions
diff --git a/README-maintainer b/README-maintainer
index e48c64b6..2348eaaa 100644
--- a/README-maintainer
+++ b/README-maintainer
@@ -285,8 +285,8 @@ git push upstream release-qpdf-$version
that includes the auth token.
# Create release
-TOKEN=$(qdata-show cred github-token)
-function gcurl() { curl -H "Authorization: token $TOKEN" ${1+"$@"}; }
+GITHUB_TOKEN=$(qdata-show cred github-token)
+function gcurl() { curl -H "Authorization: token $GITHUB_TOKEN" ${1+"$@"}; }
url=$(gcurl -s -XPOST https://api.github.com/repos/qpdf/qpdf/releases -d'{"tag_name": "release-qpdf-'$version'", "name": "qpdf '$version'", "draft": true}' | jq -r '.url')
# Get upload url