From a8080536f72aaf2b5ff2a096f9c5b8ca08fc7444 Mon Sep 17 00:00:00 2001 From: Won-Kyu Park Date: Sat, 28 Dec 2019 16:35:21 +0900 Subject: [PATCH] add deploy setting --- appveyor.yml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index e31c799..f973c32 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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