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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
build/build-aspnetcore-release.ps1
|
|
|
@ -3,7 +3,7 @@ |
|
|
|
# Build all solutions |
|
|
|
foreach ($service in $serviceArray) { |
|
|
|
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 |
|
|
|
Copy-Item (Join-Path $service.Path "Dockerfile") -Destination $publishPath -Recurse |
|
|
|
} |
|
|
|
|