-
Notifications
You must be signed in to change notification settings - Fork 6
/
appveyor.yml
44 lines (35 loc) · 1.26 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
version: '{branch}-{build}'
skip_non_tags: true
environment:
PATH: 'C:\Program Files (x86)\Inno Setup 6;%PATH%'
init:
- ps: |-
if ($env:APPVEYOR_REPO_TAG -eq "true") {
Update-AppveyorBuild -Version $env:APPVEYOR_REPO_TAG_NAME.Substring(1)
}
install:
- choco install -y innosetup
before_build:
- curl -LSso "bin/en.pak" "https://link.storjshare.io/jwcjitwklfiiso3blqpg4myjoibq/wa2/en.pak?download"
- curl -LSso "bin/WA2.exe" "https://link.storjshare.io/jufxx5vtkrcsjp7t55m342gji5qq/wa2/WA2.exe?download"
- curl -LSso "bin/mv000.pak" "https://link.storjshare.io/s/jw6fst3gpmagzqzbgiuwuhervqlq/wa2/mv000.pak?download"
build_script:
- ps: ISCC /DVERSION=$($env:APPVEYOR_REPO_TAG_NAME.Substring(1)) src\WA2.iss
artifacts:
- path: out\WA2_patch.exe
name: WA2 patch
before_deploy:
- ps: |-
if (!$env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED) {
$env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED = "* $env:APPVEYOR_REPO_COMMIT_MESSAGE"
}
deploy:
- provider: GitHub
auth_token:
secure: CZYw5sWK85gAhVnP4ZimstNyYwzpXASOgksyshNFciG5RYZFjURXhLURxwwdqWVA
artifact: out\WA2_patch.exe
description: $(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
force_update: true
prerelease: false
on:
APPVEYOR_REPO_TAG: true