Commit 24f62e38a7bbf0c3a0c649cda9076c89e5d16d7a
1 parent
da754079
Fix a few maintainer notes
Showing
1 changed file
with
2 additions
and
5 deletions
README-maintainer
| @@ -267,18 +267,15 @@ chmod 555 *.AppImage | @@ -267,18 +267,15 @@ chmod 555 *.AppImage | ||
| 267 | arguments. Create and push a signed tag. This should be run with | 267 | arguments. Create and push a signed tag. This should be run with |
| 268 | HEAD pointing to the tip of master. | 268 | HEAD pointing to the tip of master. |
| 269 | 269 | ||
| 270 | -git rev-parse master upstream/master @ | 270 | +git rev-parse upstream/master @ |
| 271 | git tag -s release-qpdf-$version @ -m"qpdf $version" | 271 | git tag -s release-qpdf-$version @ -m"qpdf $version" |
| 272 | git push upstream release-qpdf-$version | 272 | git push upstream release-qpdf-$version |
| 273 | 273 | ||
| 274 | -* In Azure Pipelines, retain the build that was used to generate the | ||
| 275 | - release. | ||
| 276 | - | ||
| 277 | * Create a github release after pushing the tag. `gcurl` is an alias | 274 | * Create a github release after pushing the tag. `gcurl` is an alias |
| 278 | that includes the auth token. | 275 | that includes the auth token. |
| 279 | 276 | ||
| 280 | # Create release | 277 | # Create release |
| 281 | -TOKEN=$(cat ~/.github-token) | 278 | +TOKEN=$(qdata-show cred github-token) |
| 282 | function gcurl() { curl -H "Authorization: token $TOKEN" ${1+"$@"}; } | 279 | function gcurl() { curl -H "Authorization: token $TOKEN" ${1+"$@"}; } |
| 283 | 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') | 280 | 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') |
| 284 | 281 |