We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b252b7 commit 9639fcaCopy full SHA for 9639fca
Build.ps1
@@ -31,9 +31,11 @@ foreach ($src in Get-ChildItem src/*) {
31
Write-Output "build: Packaging project in $src"
32
33
if ($suffix) {
34
- & dotnet pack -c Release -o ../../artifacts --version-suffix=$suffix
+ & dotnet publish -c Release -o ./obj/publish --version-suffix=$suffix
35
+ & dotnet pack -c Release -o ../../artifacts --no-build --version-suffix=$suffix
36
} else {
- & dotnet pack -c Release -o ../../artifacts
37
+ & dotnet publish -c Release -o ./obj/publish
38
+ & dotnet pack -c Release -o ../../artifacts --no-build
39
}
40
if($LASTEXITCODE -ne 0) { throw "Packaging failed" }
41
0 commit comments