Browse Source

Merge pull request #591 from colinin/fix-output-path-of-build-script-incorrect

fix: The output path of the build script is incorrect
pull/645/head
yx lin 4 years ago
committed by GitHub
parent
commit
df270e906c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build/build-aspnetcore-release.ps1

2
build/build-aspnetcore-release.ps1

@ -3,7 +3,7 @@
# Build all solutions # Build all solutions
foreach ($service in $serviceArray) { foreach ($service in $serviceArray) {
Set-Location $service.Path Set-Location $service.Path
$publishPath = $rootFolder + "/aspnet-core/services/Publish/" + $service.Service $publishPath = $rootFolder + "/../aspnet-core/services/Publish/" + $service.Service
dotnet publish -c Release -o $publishPath --no-cache --no-restore dotnet publish -c Release -o $publishPath --no-cache --no-restore
Copy-Item (Join-Path $service.Path "Dockerfile") -Destination $publishPath -Recurse Copy-Item (Join-Path $service.Path "Dockerfile") -Destination $publishPath -Recurse
} }

Loading…
Cancel
Save