release publish configuration for win/mac, because for Linux it's already done
This commit is contained in:
parent
0d0b812e99
commit
c514c8c31d
@ -25,7 +25,7 @@ do
|
|||||||
echo -e "\e[33m\tRestoring project"
|
echo -e "\e[33m\tRestoring project"
|
||||||
dotnet restore
|
dotnet restore
|
||||||
echo -e "\e[33m\tBuilding and publishing projects"
|
echo -e "\e[33m\tBuilding and publishing projects"
|
||||||
dotnet publish -o obj/Docker/publish
|
dotnet publish -o obj/Docker/publish -c Release
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ $projectPaths | foreach {
|
|||||||
Write-Host "Publishing $projectPathAndFile to $outPath" -ForegroundColor Yellow
|
Write-Host "Publishing $projectPathAndFile to $outPath" -ForegroundColor Yellow
|
||||||
dotnet restore $projectPathAndFile
|
dotnet restore $projectPathAndFile
|
||||||
dotnet build $projectPathAndFile
|
dotnet build $projectPathAndFile
|
||||||
dotnet publish $projectPathAndFile -o $outPath
|
dotnet publish $projectPathAndFile -o $outPath -c Release
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user