File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ function Export-NuGetPackage
70
70
try {
71
71
$srcDir = Join-Path $srcBase $version
72
72
Push-Location $srcDir
73
- $result = dotnet pack
73
+ $result = dotnet pack -- configuration Release
74
74
if ( $? ) {
75
- Copy-Item - verbose:$true (Join-Path $srcDir " bin/Debug /PowerShellStandard.Library*.nupkg" ) $PsScriptRoot
75
+ Copy-Item - verbose:$true (Join-Path $srcDir " bin/Release /PowerShellStandard.Library*.nupkg" ) $PsScriptRoot
76
76
}
77
77
else {
78
78
Write-Error - Message " $result "
@@ -86,9 +86,9 @@ function Export-NuGetPackage
86
86
try {
87
87
$templateDir = Join-Path $PsScriptRoot src/ dotnetTemplate
88
88
Push-Location $templateDir
89
- $result = dotnet pack
89
+ $result = dotnet pack -- configuration Release
90
90
if ( $? ) {
91
- Copy-Item - verbose:$true (Join-Path $templateDir " bin/Debug /*.nupkg" ) $PsScriptRoot
91
+ Copy-Item - verbose:$true (Join-Path $templateDir " bin/Release /*.nupkg" ) $PsScriptRoot
92
92
}
93
93
else {
94
94
Write-Error - Message " $result "
You can’t perform that action at this time.
0 commit comments