forked from nickgammon/mushclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
31 lines (31 loc) · 1 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
version: automatic_{branch}_build_{build}
branches:
only:
- master
skip_tags: true
configuration: Release
environment:
auth_token:
secure: SKQr480MzNJLzmyrFxDeMta2nHica+9ed2n1Djpa53ioURK0NLo/iStu9DhUrQIK
PRE_RELEASE: PRE_RELEASE
build:
project: MUSHclient_2015.sln
parallel: true
verbosity: normal
before_deploy:
- '"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mt.exe" -manifest MUSHclient.exe.manifest -updateresource:WinRel\MUSHclient.exe;#1'
- ps: Push-AppveyorArtifact WinRel\MUSHclient.exe -FileName MUSHclient.exe
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:auth_token):[email protected]`n"
- git tag -f latest_commit HEAD
- git push -f origin latest_commit
deploy:
- provider: GitHub
tag: latest_commit
auth_token:
secure: SKQr480MzNJLzmyrFxDeMta2nHica+9ed2n1Djpa53ioURK0NLo/iStu9DhUrQIK
artifact: MUSHclient.exe
prerelease: true
force_update: true
on:
branch: master