From c514c8c31d7285ae76d4fc4355c1836c8686be7b Mon Sep 17 00:00:00 2001 From: Igor Sychev Date: Sun, 3 Sep 2017 11:30:27 +0300 Subject: [PATCH] release publish configuration for win/mac, because for Linux it's already done --- cli-mac/build-bits.sh | 2 +- cli-windows/build-bits.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli-mac/build-bits.sh b/cli-mac/build-bits.sh index 681c3605d..fdf61e359 100755 --- a/cli-mac/build-bits.sh +++ b/cli-mac/build-bits.sh @@ -25,7 +25,7 @@ do echo -e "\e[33m\tRestoring project" dotnet restore echo -e "\e[33m\tBuilding and publishing projects" - dotnet publish -o obj/Docker/publish + dotnet publish -o obj/Docker/publish -c Release popd done diff --git a/cli-windows/build-bits.ps1 b/cli-windows/build-bits.ps1 index 272227b3d..f74a00bfa 100644 --- a/cli-windows/build-bits.ps1 +++ b/cli-windows/build-bits.ps1 @@ -31,7 +31,7 @@ $projectPaths | foreach { Write-Host "Publishing $projectPathAndFile to $outPath" -ForegroundColor Yellow dotnet restore $projectPathAndFile dotnet build $projectPathAndFile - dotnet publish $projectPathAndFile -o $outPath + dotnet publish $projectPathAndFile -o $outPath -c Release }