-
Notifications
You must be signed in to change notification settings - Fork 24
/
appveyor.yml
64 lines (50 loc) · 1.46 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#---------------------------------#
# general configuration #
#---------------------------------#
version: 3.17.{build}
#---------------------------------#
# environment configuration #
#---------------------------------#
#branches:
# only:
# - master
# Start builds on tags only (GitHub and BitBucket)
# skip_non_tags: true
skip_tags: true
#---------------------------------#
# build configuration #
#---------------------------------#
install:
- npm install
build_script:
- node --version
- npm --version
- node build.js %APPVEYOR_BUILD_VERSION%
- node_modules\.bin\eslint src
cache:
- node_modules -> package.json
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
# packaging chrome
- path: dist\HangarXPLOR-chrome-v$(APPVEYOR_BUILD_VERSION).zip
name: chrome
# packaging firefox
- path: dist\HangarXPLOR-firefox-v$(APPVEYOR_BUILD_VERSION).zip
name: firefox
# packaging edge
- path: dist\HangarXPLOR-edge-v$(APPVEYOR_BUILD_VERSION).zip
name: edge
deploy:
provider: GitHub
auth_token:
secure: aUq4uwUlXb5KVgS/n7ZlghMMJlYMIOOm+4Lyhj147OvUtU/8i5v9b+yi3KCisxzk
artifact: /.*\.zip/
draft: false
prerelease: false
tag: v$(APPVEYOR_BUILD_VERSION)
release: HangarXPLOR Browser Extensions
description: View [ReadMe](https://github.com/dolkensp/HangarXPLOR/blob/master/README.md) for more instructions.
on:
branch: release