stencila/desktop

Automated builds for each OS

Closed this issue · 1 comments

We should have automated builds on Travis (MacOS & Linux) and Appveyor (Windows) creating binaries and uploading then to Github releases for each tagged release. See:

https://github.com/electron-userland/electron-builder/wiki/Multi-Platform-Build
https://github.com/electron-userland/electron-builder/wiki/Publishing-Artifacts

https://docs.travis-ci.com/user/deployment/releases/
dat-ecosystem-archive/dat-desktop#63

OK, for Travis, I followed the Publishing-Artifacts wiki page: added a deploy section and a GH_TOKEN env var in the Travis set up. This is running : https://travis-ci.org/stencila/desktop/jobs/251740962#L1130. It should automatically detect a new tag and publish a draft release (only on master branch).