2017-06-24 15:21:57 +03:00
|
|
|
os: Visual Studio 2017
|
2017-06-24 14:06:52 +03:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
environment:
|
2017-06-24 16:49:32 +03:00
|
|
|
nodejs_version: "7"
|
2017-06-24 14:06:52 +03:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- '%USERPROFILE%\.electron'
|
|
|
|
|
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Install-Product node $env:nodejs_version $env:platform
|
|
|
|
- npm install
|
|
|
|
- node scripts/install-deps.js
|
|
|
|
- node scripts/build-native.js
|
|
|
|
|
|
|
|
build_script:
|
2017-06-24 16:39:18 +03:00
|
|
|
- npm run build
|
2017-06-24 14:06:52 +03:00
|
|
|
- node scripts/prepackage-plugins.js
|
|
|
|
- node scripts/build-windows.js
|
|
|
|
|
2017-06-24 21:05:49 +03:00
|
|
|
artifacts:
|
|
|
|
- path: 'dist\win\*.exe'
|
2017-06-24 20:01:56 +03:00
|
|
|
deploy:
|
|
|
|
provider: GitHub
|
|
|
|
auth_token:
|
|
|
|
secure: wvxHVlprvhfdOHgmVEDIwjCHYlmuDykteIEHpAfpi807+1lJD3ld2/OS6+0fgU4e
|
2017-06-24 21:15:09 +03:00
|
|
|
artifact: /.*\.exe/
|
2017-06-24 20:01:56 +03:00
|
|
|
draft: false
|
|
|
|
prerelease: false
|
2017-06-24 20:34:25 +03:00
|
|
|
force_update: true
|
2017-06-24 20:01:56 +03:00
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
appveyor_repo_tag: true
|