From 0b2341ab8e0085a02dce22e9bf06aba7a8f87476 Mon Sep 17 00:00:00 2001 From: Ted John Date: Thu, 25 Aug 2016 23:07:02 +0100 Subject: [PATCH] Improve artifact building --- appveyor.yml | 6 +++--- openrct2.proj | 23 +++++++++++++---------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 0508b7813a..d71950fc82 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,9 +25,9 @@ configuration: Release build: project: openrct2.proj artifacts: -- path: .\artifacts\openrct2.zip +- path: .\artifacts\openrct2-portable*.zip name: OpenRCT2-portable -- path: .\artifacts\*.exe +- path: .\artifacts\openrct2-installer*.exe name: OpenRCT2-installer -- path: .\artifacts\openrct2-symbols-*.zip +- path: .\artifacts\openrct2-symbols*.zip name: OpenRCT2 debug symbols diff --git a/openrct2.proj b/openrct2.proj index 923310ff0d..850ddeb6ef 100644 --- a/openrct2.proj +++ b/openrct2.proj @@ -41,10 +41,12 @@ $(DistDir)windows\code-sign-key-openrct2.org.pfx http://timestamp.comodoca.com/authenticode - $(ArtifactsDir)openrct2.zip - $(ArtifactsDir)openrct2-symbols.zip - $(ArtifactsDir)openrct2-symbols-$(GIT_COMMIT_SHA1_SHORT).zip - $(ArtifactsDir)openrct2-install.exe + -$(Configuration)-$(Platform)-$(GIT_COMMIT_SHA1_SHORT) + $(PublishPostfix.ToLower()) + $(ArtifactsDir)openrct2-portable$(PublishPostfix).zip + $(ArtifactsDir)openrct2-symbols$(PublishPostfix).zip + $(ArtifactsDir)openrct2-symbols$(PublishPostfix).zip + $(ArtifactsDir)openrct2-installer$(PublishPostfix).exe OpenRCT2-$(Version)$(VersionExtension)-windows @@ -94,10 +96,13 @@ + + + @@ -135,19 +140,15 @@ - - - - - + <_7z Output="$(PublishZip)" Inputs="@(PublishItems)" /> - + <_7z Output="$(PublishSymbolsZip)" Inputs="@(SymbolItems)" /> @@ -163,6 +164,8 @@ $([System.IO.Path]::GetFilename($(PublishInstallerExe))) + +