ci: upload tagged AppVeyor installers as GitHub releases
authorVincent Fu <vincent.fu@samsung.com>
Mon, 8 Aug 2022 17:51:51 +0000 (17:51 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Aug 2022 13:07:09 +0000 (07:07 -0600)
commit13ceeb098527ee99d0cabe248eba70e9d2fa2aa8
tree6ca2fca167eb926d8c88627da6c3ba14b41e230a
parentc08f9533042e909d4b4b12fdb8d14f1bc8e23dff
ci: upload tagged AppVeyor installers as GitHub releases

Deploy Windows installers built by AppVeyor as releases on GitHub. This
process is triggered only when tags are uploaded to the repository.

Patch was created using this guide:
https://www.appveyor.com/docs/deployment/github/

- Generate a GitHub authentication token with public_repo scope:
  https://github.com/settings/tokens
- Login to AppVeyor and encrypt GitHub token: Account -> Encrypt YAML
  https://ci.appveyor.com/tools/encrypt
- Insert encrypted token in appveyor.yml on the secure: line under
  auth_token:

With APPVEYOR_REPO_TAG set to true only tags pushed to GitHub will have
Cygwin MSI installers uploaded as releases to GitHub.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
Link: https://lore.kernel.org/r/20220808175133.37920-2-vincent.fu@samsung.com
[axboe: replace token with right one]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
.appveyor.yml