release publish configuration for win/mac, because for Linux it's already done

This commit is contained in:
Igor Sychev 2017-09-03 11:30:27 +03:00
parent 0d0b812e99
commit c514c8c31d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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
}