-
Notifications
You must be signed in to change notification settings - Fork 76
/
appveyor.yml
64 lines (58 loc) · 1.63 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
version: automatic_{branch}_build_{build}
image: Visual Studio 2017
branches:
only:
- master
skip_tags: true
configuration:
- Release
- Debug
environment:
auth_token:
secure: oYkN6ClBeCQpDctBb2K+mucEepsxl60sXzU6J9JZm2rvIwBFJBfx1A+RLeGH0ve1
PRE_RELEASE: PRE_RELEASE
build:
project: MUSHclient_2017.sln
parallel: true
verbosity: normal
artifacts:
- path: WinRel\MUSHclient.exe
name: MUSHclient_Release
type: File
- path: WinDebug\MUSHclient.exe
name: MUSHclient_Debug
type: File
- path: WinDebug\MUSHclient.pdb
name: MUSHclient_Debug_PDB
type: File
before_deploy:
- ps: >
$path = if ($env:CONFIGURATION -eq "Release") { "WinRel\MUSHclient.exe" } else { "WinDebug\MUSHclient.exe" }
& "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mt.exe" -manifest MUSHclient.exe.manifest -updateresource:$path`;#1
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:auth_token):x-oauth-basic@github.com`n"
- git tag -f latest_commit HEAD
- git push -f origin latest_commit
deploy:
- provider: GitHub
tag: latest_commit_debug
auth_token:
secure: oYkN6ClBeCQpDctBb2K+mucEepsxl60sXzU6J9JZm2rvIwBFJBfx1A+RLeGH0ve1
artifact: MUSHclient_Debug,MUSHclient_Debug_PDB
prerelease: true
force_update: true
on:
branch: master
appveyor_repo_tag: false
configuration: Debug
- provider: GitHub
tag: latest_commit
auth_token:
secure: oYkN6ClBeCQpDctBb2K+mucEepsxl60sXzU6J9JZm2rvIwBFJBfx1A+RLeGH0ve1
artifact: MUSHclient_Release
prerelease: true
force_update: true
on:
branch: master
appveyor_repo_tag: false
configuration: Release