Merge pull request #312 from SychevIgor/SychevIgor/PublishRelease

release publish configuration for win/mac, because for Linux it's already done
This commit is contained in:
Cesar De la Torre 2017-09-04 10:57:21 -07:00 committed by GitHub
commit 96f4601b62
2 changed files with 2 additions and 2 deletions

View File

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

View File

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