-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from fiendish/yaml
Release and Debug builds
- Loading branch information
Showing
1 changed file
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ branches: | |
- master | ||
|
||
skip_tags: true | ||
configuration: Release | ||
configuration: | ||
- Release | ||
- Debug | ||
|
||
environment: | ||
auth_token: | ||
|
@@ -17,21 +19,46 @@ build: | |
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: | ||
- '"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 | ||
- 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):[email protected]`n" | ||
- git tag -f latest_commit HEAD | ||
- git push -f origin latest_commit | ||
|
||
deploy: | ||
- provider: GitHub | ||
tag: latest_commit_debug | ||
auth_token: | ||
secure: 8hkN/U/UWTSiR0XJovrM+FLbNe51eigL7viOQEP1Hy+5uP8kTthMF+2SUifn7OUM | ||
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: 8hkN/U/UWTSiR0XJovrM+FLbNe51eigL7viOQEP1Hy+5uP8kTthMF+2SUifn7OUM | ||
artifact: MUSHclient.exe | ||
artifact: MUSHclient_Release | ||
prerelease: true | ||
force_update: true | ||
on: | ||
branch: master | ||
appveyor_repo_tag: false | ||
configuration: Release |