Passing the configuration parameter to dotnet pack in the windows package script
This commit is contained in:
parent
b1bce2b50a
commit
b459c3665e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ cp $Stage2Dir\bin\* $PackagesDir\$Configuration\$Tfm -force -recurse
|
|||
foreach ($ProjectName in $Projects) {
|
||||
$ProjectFile = "$RepoRoot\src\$ProjectName\project.json"
|
||||
|
||||
& $toolsDir\dotnet pack "$ProjectFile" --basepath "$PackagesDir" --output "$IntermediatePackagesDir" $versionArg
|
||||
& $toolsDir\dotnet pack "$ProjectFile" --basepath "$PackagesDir" --output "$IntermediatePackagesDir" --configuration "$Configuration" $versionArg
|
||||
if (!$?) {
|
||||
Write-Host "$toolsDir\dotnet pack failed for: $ProjectFile"
|
||||
Exit 1
|
||||
|
|
Loading…
Reference in a new issue