Fix a few maintainer notes

This commit is contained in:
Jay Berkenbilt 2020-10-27 18:06:13 -04:00
parent da7540794a
commit 24f62e38a7
1 changed files with 2 additions and 5 deletions

View File

@ -267,18 +267,15 @@ chmod 555 *.AppImage
arguments. Create and push a signed tag. This should be run with
HEAD pointing to the tip of master.
git rev-parse master upstream/master @
git rev-parse upstream/master @
git tag -s release-qpdf-$version @ -m"qpdf $version"
git push upstream release-qpdf-$version
* In Azure Pipelines, retain the build that was used to generate the
release.
* Create a github release after pushing the tag. `gcurl` is an alias
that includes the auth token.
# Create release
TOKEN=$(cat ~/.github-token)
TOKEN=$(qdata-show cred github-token)
function gcurl() { curl -H "Authorization: token $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')