10000 Fix SBOM skip for embeddable runtime by zooba · Pull Request #254 · python/release-tools · GitHub
[go: up one dir, main page]

Skip to content

Fix SBOM skip for embeddable runtime #254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add automatic SBOM check
  • Loading branch information
zooba committed Jun 13, 2025
commit 8d521d1ab62f971be4389dbfc3d1bb7e4f654dc9
8 changes: 8 additions & 0 deletions windows-release/stage-layout-embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ jobs:
git -C "$(Pipeline.Workspace)\release-tools" checkout $(Build.SourceVersion)
displayName: 'Clone the python/release-tools repository'

- powershell: |
if (-not (Test-Path "$(Build.SourcesDirectory)\Misc\externals.spdx.json")) {
"externals.spdx.json is missing - skipping SBOM"
Write-Host "##vso[task.setvariable variable=SkipSBOM]1"
}
condition: and(succeeded(), not(variables['SkipSBOM']))
displayName: 'Checking for SBOM'

- powershell: >
& "$(Python)"
"$(Pipeline.Workspace)\release-tools\sbom.py"
Expand Down
Loading
0