File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,21 +96,19 @@ if ($allPackageProperties)
9696 }
9797 foreach ($pkg in $allPackageProperties )
9898 {
99- if ($pkg.IsNewSdk )
99+ Write-Host " Package Name: $ ( $pkg.Name ) "
100+ Write-Host " Package Version: $ ( $pkg.Version ) "
101+ Write-Host " Package SDK Type: $ ( $pkg.SdkType ) "
102+ Write-Host " Artifact Name: $ ( $pkg.ArtifactName ) "
103+ Write-Host " Release date: $ ( $pkg.ReleaseStatus ) "
104+ $configFilePrefix = $pkg.Name
105+ if ($pkg.ArtifactName )
100106 {
101- Write-Host " Package Name: $ ( $pkg.Name ) "
102- Write-Host " Package Version: $ ( $pkg.Version ) "
103- Write-Host " Package SDK Type: $ ( $pkg.SdkType ) "
104- Write-Host " Artifact Name: $ ( $pkg.ArtifactName ) "
105- Write-Host " Release date: $ ( $pkg.ReleaseStatus ) "
106- $configFilePrefix = $pkg.Name
107- if ($pkg.ArtifactName )
108- {
109- $configFilePrefix = $pkg.ArtifactName
110- }
111- $outputPath = Join-Path - Path $outDirectory " $configFilePrefix .json"
112- SetOutput $outputPath $pkg
107+ $configFilePrefix = $pkg.ArtifactName
113108 }
109+ $outputPath = Join-Path - Path $outDirectory " $configFilePrefix .json"
110+ Write-Host " Output path of json file: $outputPath "
111+ SetOutput $outputPath $pkg
114112 }
115113
116114 Get-ChildItem - Path $outDirectory
You can’t perform that action at this time.
0 commit comments