diff --git a/cli-windows/build-bits.ps1 b/cli-windows/build-bits.ps1 index 38cdfddc..3b3d8da3 100644 --- a/cli-windows/build-bits.ps1 +++ b/cli-windows/build-bits.ps1 @@ -31,7 +31,6 @@ $projectPaths = #Write-Host "Deleting old publish files in $outPath" -ForegroundColor Yellow remove-item -path $outPath -Force -Recurse -ErrorAction SilentlyContinue #Write-Host "Publishing $projectPathAndFile to $outPath" -ForegroundColor Yellow - dotnet build $projectPathAndFile dotnet publish $projectPathAndFile -o $outPath -c Release } } diff --git a/k8s/deploy.ps1 b/k8s/deploy.ps1 index be9424b4..6b6318ac 100644 --- a/k8s/deploy.ps1 +++ b/k8s/deploy.ps1 @@ -54,7 +54,6 @@ Write-Host "Docker image Tag: $imageTag" -ForegroundColor Yellow # building and publishing docker images if needed if($buildBits) { Write-Host "Building and publishing eShopOnContainers..." -ForegroundColor Yellow - dotnet restore ../eShopOnContainers-ServicesAndWebApps.sln dotnet publish -c Release -o obj/Docker/publish ../eShopOnContainers-ServicesAndWebApps.sln } if ($buildImages) {