2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-03 10:50:53 +00:00

Fix a few maintainer notes

This commit is contained in:
Jay Berkenbilt 2020-10-27 18:06:13 -04:00
parent da7540794a
commit 24f62e38a7

View File

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