2018-08-13 14:24:40 -04:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
2019-04-05 13:13:11 -04:00
|
|
|
env: BUILDARCH=x64
|
2019-09-29 08:49:55 -04:00
|
|
|
dist: trusty
|
2018-08-13 14:24:40 -04:00
|
|
|
- os: osx
|
2018-08-13 11:14:15 -04:00
|
|
|
|
2018-08-13 14:24:40 -04:00
|
|
|
language: node_js
|
2019-06-06 19:22:04 -04:00
|
|
|
node_js: "10"
|
2018-08-13 11:14:15 -04:00
|
|
|
|
|
|
|
before_install:
|
2018-11-13 11:58:05 -05:00
|
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
|
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
2019-02-14 19:40:11 -05:00
|
|
|
- . install_deps.sh
|
2018-08-14 10:25:54 -04:00
|
|
|
- . get_repo.sh
|
|
|
|
- . check_tags.sh
|
2018-08-13 11:14:15 -04:00
|
|
|
|
|
|
|
script:
|
|
|
|
- ./build.sh
|
|
|
|
|
|
|
|
before_deploy:
|
2019-04-23 20:14:24 -04:00
|
|
|
- ./sign_mac_app.sh
|
2018-08-13 11:14:15 -04:00
|
|
|
- ./create_zip.sh
|
2019-05-17 12:17:54 -04:00
|
|
|
- ./create_dmg.sh
|
2019-04-12 18:11:27 -04:00
|
|
|
- ./sum.sh
|
2018-08-13 11:14:15 -04:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
skip_cleanup: true
|
2018-09-10 16:18:00 -04:00
|
|
|
overwrite: true
|
|
|
|
name: $LATEST_MS_TAG
|
2018-08-13 14:24:40 -04:00
|
|
|
api_key: $GITHUB_TOKEN
|
2018-08-13 11:14:15 -04:00
|
|
|
file_glob: true
|
2018-08-15 11:59:54 -04:00
|
|
|
file:
|
2019-04-12 18:11:27 -04:00
|
|
|
- ./*.sha256
|
2018-08-15 11:59:54 -04:00
|
|
|
- ./*.zip
|
|
|
|
- ./*.tar.gz
|
2019-05-17 12:17:54 -04:00
|
|
|
- ./*.dmg
|
2019-07-25 12:07:08 -04:00
|
|
|
- ./*.deb
|
|
|
|
- ./*.rpm
|
|
|
|
- ./*.AppImage
|
2018-08-13 11:14:15 -04:00
|
|
|
on:
|
2018-08-14 10:13:34 -04:00
|
|
|
all_branches: true
|
|
|
|
condition: $SHOULD_BUILD = yes
|
2019-05-16 13:41:32 -04:00
|
|
|
|
|
|
|
after_deploy:
|
|
|
|
- ./update_version.sh
|