Merged PR 31793: Update TPN for the v7.4.4 release

Update TPN for the v7.4.4 release
This commit is contained in:
Aditya Patwardhan
2024-07-17 00:43:16 +00:00
parent 6f5881797f
commit e3b0de57f9
4 changed files with 694 additions and 865 deletions
+647 -835
View File
File diff suppressed because it is too large Load Diff
-30
View File
@@ -130,16 +130,6 @@
},
"DevelopmentDependency": false
},
{
"Component": {
"Type": "nuget",
"Nuget": {
"Name": "Microsoft.Management.Infrastructure.Runtime.Unix",
"Version": "3.0.0"
}
},
"DevelopmentDependency": false
},
{
"Component": {
"Type": "nuget",
@@ -150,16 +140,6 @@
},
"DevelopmentDependency": true
},
{
"Component": {
"Type": "nuget",
"Nuget": {
"Name": "Microsoft.Management.Infrastructure",
"Version": "3.0.0"
}
},
"DevelopmentDependency": false
},
{
"Component": {
"Type": "nuget",
@@ -170,16 +150,6 @@
},
"DevelopmentDependency": false
},
{
"Component": {
"Type": "nuget",
"Nuget": {
"Name": "Microsoft.PowerShell.Native",
"Version": "7.4.0"
}
},
"DevelopmentDependency": false
},
{
"Component": {
"Type": "nuget",
+13
View File
@@ -234,10 +234,23 @@ function Get-CGRegistrations {
Get-PSDrive -Name $folder -ErrorAction Ignore | Remove-PSDrive
}
# Name to skip for TPN generation
$skipNames = @(
"Microsoft.PowerShell.Native",
"Microsoft.Management.Infrastructure.Runtime.Unix",
"Microsoft.Management.Infrastructure"
)
$targets | ForEach-Object {
$target = $_
$parts = ($target -split '\|')
$name = $parts[0]
if ($name -in $skipNames) {
Write-Verbose -Verbose "Skipping $name..."
continue
}
$targetVersion = $parts[1]
$publicVersion = Get-NuGetPublicVersion -Name $name -Version $targetVersion
@@ -0,0 +1,34 @@
{
"Registrations": [
{
"Component": {
"Type": "nuget",
"Nuget": {
"Name": "Microsoft.Management.Infrastructure.Runtime.Unix",
"Version": "2.0.0"
}
},
"DevelopmentDependency": false
},
{
"Component": {
"Type": "nuget",
"Nuget": {
"Name": "Microsoft.PowerShell.Native",
"Version": "7.3.2"
}
},
"DevelopmentDependency": false
},
{
"Component": {
"Type": "nuget",
"Nuget": {
"Name": "Microsoft.Management.Infrastructure",
"Version": "2.0.0"
}
},
"DevelopmentDependency": false
}],
"$schema": "https://json.schemastore.org/component-detection-manifest.json"
}