Skip to content

Commit d1d92a3

Browse files
PaulHiginTravisEz13
authored andcommitted
Add SBOM manifest to nuget packages (PowerShell#16711)
# Conflicts: # build.psm1 # tools/cgmanifest.json
1 parent d2626e6 commit d1d92a3

File tree

6 files changed

+389
-180
lines changed

6 files changed

+389
-180
lines changed

build.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2278,7 +2278,7 @@ function Find-Dotnet() {
22782278
$dotnetCLIInstalledVersion = Get-LatestInstalledSDK
22792279
Pop-Location
22802280

2281-
Write-Verbose -Verbose "dotnetCLIInstalledVersion = $dotnetCLIInstalledVersion`nchosenDotNetVersion = $chosenDotNetVersion"
2281+
Write-Verbose -Message "Find-DotNet: dotnetCLIInstalledVersion = $dotnetCLIInstalledVersion; chosenDotNetVersion = $chosenDotNetVersion"
22822282

22832283
if ($dotnetCLIInstalledVersion -ne $chosenDotNetVersion) {
22842284
Write-Warning "The 'dotnet' in the current path can't find SDK version ${dotnetCLIRequiredVersion}, prepending $dotnetPath to PATH."

tools/cgmanifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@
685685
"Type": "nuget",
686686
"Nuget": {
687687
"Name": "StyleCop.Analyzers.Unstable",
688-
"Version": "1.2.0.354"
688+
"Version": "1.2.0.406"
689689
}
690690
},
691691
"DevelopmentDependency": true

tools/packaging/packaging.psd1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
'New-DotnetSdkContainerFxdPackage'
1616
'New-ExePackage'
1717
'New-GlobalToolNupkg'
18+
'New-ILNugetPackageSource'
19+
'New-ILNugetPackageFromSource'
1820
'New-ILNugetPackage'
1921
'New-MSIPatch'
2022
'New-PSBuildZip'

0 commit comments

Comments
 (0)