Sync eng/common directory with azure-sdk-tools for PR 3378 (#3679)
* Create json package property parent directory * Fix the issue in script Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
This commit is contained in:
parent
c755acac03
commit
a401ac937a
@ -108,6 +108,12 @@ if ($allPackageProperties)
|
||||
}
|
||||
$outputPath = Join-Path -Path $outDirectory "$configFilePrefix.json"
|
||||
Write-Host "Output path of json file: $outputPath"
|
||||
$outDir = Split-Path $outputPath -parent
|
||||
if (-not (Test-Path -path $outDir))
|
||||
{
|
||||
Write-Host "Creating directory $($outDir) for json property file"
|
||||
New-Item -ItemType Directory -Path $outDir
|
||||
}
|
||||
SetOutput $outputPath $pkg
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user