Skip to content

Commit

Permalink
Trying out appveyor release deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanik committed Dec 31, 2015
1 parent 97e6389 commit 87c4d43
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ platform: Windows

# build Configuration, i.e. Debug, Release, etc.
configuration:
#- Checked
- Checked
- Release

build:
Expand All @@ -76,6 +76,7 @@ before_build:

# scripts to run after build
after_build:
- 7z a xenia-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT)-$(CONFIGURATION).zip build\bin\Windows\$(CONFIGURATION)\xenia.exe

# to run your custom scripts instead of automatic MSBuild
#build_script:
Expand Down Expand Up @@ -122,7 +123,8 @@ artifacts:
# pushing all *.nupkg files in directory
#- path: out\*.nupkg

path: xenia-cpu-ppc-test.log
- path: xenia-cpu-ppc-test.log
- path: xenia-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT)-$(CONFIGURATION).zip


#---------------------------------#
Expand All @@ -131,15 +133,15 @@ artifacts:

# providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment
# provider names are case-sensitive!
#deploy:
# Deploy to GitHub Releases
#- provider: GitHub
# artifact: /.*\.nupkg/ # upload all NuGet packages to release assets
# draft: false
# prerelease: false
# on:
# branch: master # release from master branch only
# appveyor_repo_tag: true # deploy on tag push only
deploy:
- provider: Environment
name: xenia-master
artifact: xenia-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT)-$(CONFIGURATION).zip
draft: false
prerelease: true
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only

# scripts to run before deployment
before_deploy:
Expand All @@ -151,7 +153,7 @@ after_deploy:
deploy_script:

# to disable deployment
deploy: off
# deploy: off


#---------------------------------#
Expand Down

0 comments on commit 87c4d43

Please sign in to comment.