-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
55 lines (53 loc) · 1.59 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
version: 3.0.{build}
image: Visual Studio 2019
configuration: Release
skip_tags: true
environment:
FTP_SERVER:
secure: kxKILYuyxyQkHS2b4dbqw52AzETflDBT0vUIcBFY7v8=
FTP_USER:
secure: 3Kls+mo3sXTdX6tqhfVIoajt3lGjJgaNCvqFBjpiT6k=
FTP_PASSWORD:
secure: x2kfU56dAJmCtXvY+t3RAw==
GITHUB_DEPLOY_TOKEN:
secure: WGPN509P83WUoyHa9LJ+yXqS4zm8Ql1mOg9pzl3eUzg0JWEO+pjL1hJEHgclkUPR
deploy:
- provider: GitHub
auth_token: $(GITHUB_DEPLOY_TOKEN)
on:
branch: H2OS_EK
- provider: FTP
host: $(FTP_SERVER)
protocol: ftp
username: $(FTP_USER)
password: $(FTP_PASSWORD)
folder: /Tools/PC/h2codez/$(APPVEYOR_BUILD_VERSION)-$(APPVEYOR_REPO_COMMIT)
active_mode: false
beta: true
debug: true
on:
branch: H2OS_EK_DISABLED
- provider: FTP
host: $(FTP_SERVER)
protocol: ftp
username: $(FTP_USER)
password: $(FTP_PASSWORD)
folder: /Tools/PC/h2codez/latest
active_mode: false
beta: true
debug: true
on:
branch: H2OS_EK_DISABLED
before_build:
- cmd: 'echo #define version ^"%APPVEYOR_BUILD_VERSION%-%APPVEYOR_REPO_COMMIT:~0,7%^" 1> H2Codez\Version.h'
- cmd: 'cat H2Codez\Version.h'
build:
verbosity: minimal
before_package:
- ps: Add-Content version $env:APPVEYOR_BUILD_VERSION -NoNewLine
- ps: Add-Content hash ((Get-FileHash "C:\Program Files (x86)\Microsoft Games\Halo 2 Map Editor\H2Codez.dll" -Algorithm MD5).Hash) -NoNewLine
- cmd: xcopy /i "C:\Program Files (x86)\Microsoft Games\Halo 2 Map Editor\H2Codez.dll" ".\Release\"
- cmd: xcopy /i "C:\Program Files (x86)\Microsoft Games\Halo 2 Map Editor\H2Codez.pdb" ".\Release\"
artifacts:
- path: '\Release\*'
- path: '\hash'