Skip to content

Commit a9da584

Browse files
author
Paul Savoie
committed
fixes nuget sbom creation
1 parent 6645e09 commit a9da584

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ obj
66
src/wwwroot/js
77
_temp
88
bom.xml
9-
verification
9+
verification
10+
_BuildResult*

sbom/Create-SBOM.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dotnet tool install cyclonedx --tool-path $tempPath
2424

2525
# 2.b create nuget bom
2626
$cyclonDxToolPath = Join-Path $tempPath "dotnet-CycloneDX.exe"
27-
& "${cyclonDxToolPath}" --output "${tempPath}" -f "nuget.bom.xml" --exclude-dev ..\src\DemoExample.csproj
27+
& "${cyclonDxToolPath}" --output "${tempPath}" -f "nuget.bom.xml" --exclude-dev src\DemoExample.csproj
2828

2929
# 3 Create NPM SBOM
3030
$packageJsonPath = Join-Path $PSScriptRoot ".." "src" "package.json"

0 commit comments

Comments
 (0)