Drone: Upload AppImage to GitHub using nextcloud-desktop-bot
authorMichael Schuster <michael@schuster.ms>
Sun, 19 Jul 2020 05:51:24 +0000 (07:51 +0200)
committerMichael Schuster <michael@schuster.ms>
Mon, 20 Jul 2020 15:11:33 +0000 (17:11 +0200)
commitc3f5a9b9cc0c2931c79e12509f3e3d17b713a843
tree35e18156e2ed180a7d7b78356977496d1bfa50f4
parent6ab55eddae26ff30b87b69b802945a745235e7e2
Drone: Upload AppImage to GitHub using nextcloud-desktop-bot

Uploading AppImage's to transfer.sh often fail and cause the CI to wait for
the 15 minutes timeout.

This new approach uses a bot user to create releases in a dedicated ci-builds
repository. Each PR (or master) will get a dedicated release with the AppImage
supplied as a release asset. Older assets will be deleted prior uploading the
recent build.

The bot will then (in case of a PR) create a comment in the PR, containing the
download link.

Home of the CI releases: https://github.com/nextcloud-desktop-bot/ci-builds/releases

Inspired by: https://github.com/nextcloud/android/blob/master/scripts/uploadArtifact.sh

Signed-off-by: Michael Schuster <michael@schuster.ms>
.drone.yml
admin/linux/upload-appimage.sh