Trying out appveyor release deployment.

This commit is contained in:
Ben Vanik 2015-12-31 11:21:28 -08:00
parent 97e6389904
commit 87c4d438af
1 changed files with 14 additions and 12 deletions

View File

@ -59,7 +59,7 @@ platform: Windows
# build Configuration, i.e. Debug, Release, etc. # build Configuration, i.e. Debug, Release, etc.
configuration: configuration:
#- Checked - Checked
- Release - Release
build: build:
@ -76,6 +76,7 @@ before_build:
# scripts to run after build # scripts to run after build
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 # to run your custom scripts instead of automatic MSBuild
#build_script: #build_script:
@ -122,7 +123,8 @@ artifacts:
# pushing all *.nupkg files in directory # pushing all *.nupkg files in directory
#- path: out\*.nupkg #- 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
#---------------------------------# #---------------------------------#
@ -131,15 +133,15 @@ artifacts:
# providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment # providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment
# provider names are case-sensitive! # provider names are case-sensitive!
#deploy: deploy:
# Deploy to GitHub Releases - provider: Environment
#- provider: GitHub name: xenia-master
# artifact: /.*\.nupkg/ # upload all NuGet packages to release assets artifact: xenia-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT)-$(CONFIGURATION).zip
# draft: false draft: false
# prerelease: false prerelease: true
# on: on:
# branch: master # release from master branch only branch: master # release from master branch only
# appveyor_repo_tag: true # deploy on tag push only appveyor_repo_tag: true # deploy on tag push only
# scripts to run before deployment # scripts to run before deployment
before_deploy: before_deploy:
@ -151,7 +153,7 @@ after_deploy:
deploy_script: deploy_script:
# to disable deployment # to disable deployment
deploy: off # deploy: off
#---------------------------------# #---------------------------------#