This commit is contained in:
Eugene Pankov
2017-06-24 19:01:56 +02:00
parent 5372ccf59c
commit fe75b77420
2 changed files with 13 additions and 7 deletions

View File

@@ -1,11 +1,9 @@
matrix: matrix:
include: include:
- os: linux - os: linux
env: BUILD_FOR=windows ARTIFACT="dist/win/*.exe" env: BUILD_FOR=linux
- os: linux
env: BUILD_FOR=linux ARTIFACT="dist/terminus*"
- os: osx - os: osx
env: BUILD_FOR=macos ARTIFACT="dist/terminus*" env: BUILD_FOR=macos
language: node_js language: node_js
node_js: 7 node_js: 7
@@ -39,7 +37,7 @@ deploy:
provider: releases provider: releases
api_key: $GITHUB_TOKEN api_key: $GITHUB_TOKEN
file_glob: true file_glob: true
file: $ARTIFACT file: "dist/terminus*"
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true

View File

@@ -24,5 +24,13 @@ build_script:
- node scripts/prepackage-plugins.js - node scripts/prepackage-plugins.js
- node scripts/build-windows.js - node scripts/build-windows.js
artifacts: deploy:
- path: 'dist\*.exe' provider: GitHub
auth_token:
secure: wvxHVlprvhfdOHgmVEDIwjCHYlmuDykteIEHpAfpi807+1lJD3ld2/OS6+0fgU4e
artifact: /.*\.exe/
draft: false
prerelease: false
on:
branch: master
appveyor_repo_tag: true