Skip to content

Commit

Permalink
add deploy setting
Browse files Browse the repository at this point in the history
  • Loading branch information
wkpark committed Dec 28, 2019
1 parent 66b2827 commit a808053
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,39 @@ image: Visual Studio 2017

platform:
- x64
- x86

configuration:
- Release

matrix:
fast_finish: true

for:
-
build_script:
- msbuild Saenaru.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild Saenaru.sln -p:platform=x86 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

after_build:
- set PATH=C:\Program Files (x86)\NSIS\;%PATH%
- cd setup
- makensis.exe /DOUTPUTFILE=Saenaru-$(appveyor_build_version).exe saenaru.nsi

artifacts:
- path: setup/Saenaru-*.exe
name: saenaru

deploy:
# Create GitHub release, also set the release name and description.
provider: GitHub
tag: $(appveyor_repo_tag_name)
release: "$(project_name) $(project_version)"
description: ""
force_update: true # Force update in case Travis CI created the release before.
prerelease: $(project_version_is_prerelease)
draft: false
artifact: saenaru
auth_token:
secure: c/xeb8SWqrADeN+EXjJApIVIElDs/ro/tlIDGnNjZXhru7HP5zVKFlwSLTU3zqRf
on:
appveyor_repo_tag: true

0 comments on commit a808053

Please sign in to comment.