-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
38 lines (32 loc) · 1.06 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
branches:
only:
- master
skip_non_tags: true
init:
- git config --global core.autocrlf false
environment:
matrix:
- nodejs_version: 6.10.3
cache:
- node_modules
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
- npm install -g npm
- npm install --build-from-source --msvs_version=2013
- npm run pack:win
- ren dist\BlitzModder-%APPVEYOR_REPO_TAG_NAME%-ia32-win.zip BlitzModder-%APPVEYOR_REPO_TAG_NAME%-win32.zip
- ren dist\BlitzModder-%APPVEYOR_REPO_TAG_NAME%-win.zip BlitzModder-%APPVEYOR_REPO_TAG_NAME%-win64.zip
artifacts:
- path: dist\BlitzModder-$(APPVEYOR_REPO_TAG_NAME)-win32.zip
- path: dist\BlitzModder-$(APPVEYOR_REPO_TAG_NAME)-win64.zip
deploy:
- provider: GitHub
auth_token:
secure: TA6/JQT5hBqM+wyKht9skPyNN1mR/qigXl/0Lcvoi6YkJsF0+I1TuqCU/6fTw0jW
artifact: dist\BlitzModder-$(APPVEYOR_REPO_TAG_NAME)-win32.zip,dist\BlitzModder-$(APPVEYOR_REPO_TAG_NAME)-win64.zip
draft: false
prerelease: false
force_update: true
on:
branch: master
appveyor_repo_tag: true