This repository was archived by the owner on Nov 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +0
-6
lines changed Expand file tree Collapse file tree 4 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 2222 echo -e " \e[33m\tRemoving old publish output"
2323 pushd $( pwd) /$project
2424 rm -rf obj/Docker/publish
25- echo -e " \e[33m\tRestoring project"
26- dotnet restore
2725 echo -e " \e[33m\tBuilding and publishing projects"
2826 dotnet publish -o obj/Docker/publish -c Release
2927 popd
Original file line number Diff line number Diff line change @@ -13,7 +13,5 @@ Write-Host "Root path used is $rootPath" -ForegroundColor Yellow
1313
1414$SolutionFilePath = [IO.Path ]::Combine($rootPath , " eShopOnContainers-ServicesAndWebApps.sln" )
1515
16- dotnet restore $SolutionFilePath
17-
1816dotnet publish $SolutionFilePath - c Release - o .\obj\Docker\publish
1917
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ $projectPaths =
3131 # Write-Host "Deleting old publish files in $outPath" -ForegroundColor Yellow
3232 remove-item - path $outPath - Force - Recurse - ErrorAction SilentlyContinue
3333 # Write-Host "Publishing $projectPathAndFile to $outPath" -ForegroundColor Yellow
34- dotnet build $projectPathAndFile
3534 dotnet publish $projectPathAndFile - o $outPath - c Release
3635 }
3736}
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ Write-Host "Docker image Tag: $imageTag" -ForegroundColor Yellow
5454# building and publishing docker images if needed
5555if ($buildBits ) {
5656 Write-Host " Building and publishing eShopOnContainers..." - ForegroundColor Yellow
57- dotnet restore ../ eShopOnContainers- ServicesAndWebApps.sln
5857 dotnet publish - c Release - o obj/ Docker/ publish ../ eShopOnContainers- ServicesAndWebApps.sln
5958}
6059if ($buildImages ) {
You can’t perform that action at this time.
0 commit comments