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

View File

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