From 375e3e0fd9d81aa6aaca81b78643e635f116883a Mon Sep 17 00:00:00 2001 From: Rolf Thunbo Date: Fri, 18 Oct 2019 13:12:56 +0200 Subject: [PATCH] Build self contained dotnet core artifacts. --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 31a1cba..07b298d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: '{build}' +version: "{build}" image: Visual Studio 2017 @@ -17,11 +17,11 @@ before_build: skip_tags: true after_build: - - dotnet publish Aem -c Release --output %APPVEYOR_BUILD_FOLDER%\published - - 7z a Aem-v%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\published\* + - for %%x in (win-x64 win-x86 win-arm win-arm64 linux-x64 linux-arm osx-x64) do (dotnet publish Aem -c Release -o %APPVEYOR_BUILD_FOLDER%\published-%%x --self-contained -r %%x) + - for %%x in (win-x64 win-x86 win-arm win-arm64 linux-x64 linux-arm osx-x64) do (7z a Aem-%%x-v%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\published-%%x\*) artifacts: - - path: Aem-v%APPVEYOR_BUILD_VERSION%.zip + - path: Aem-*-v%APPVEYOR_BUILD_VERSION%.zip deploy: release: Aem-v$(appveyor_build_version)