8000 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
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 10 additions & 0 deletions windows-release/checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,13 @@ steps:
${{ if and(parameters.Path, ne(parameters.Path, '.')) }}:
workingDirectory: ${{ parameters.Path }}
condition: and(succeeded(), variables['SourceCommit'])

- powershell: |
if (-not (Test-Path "Misc\externals.spdx.json")) {
"externals.spdx.json is missing - skipping SBOM"
Write-Host "##vso[task.setvariable variable=SkipSBOM]1"
}
displayName: 'Checking for SBOM inputs'
${{ if and(parameters.Path, ne(parameters.Path, '.')) }}:
workingDirectory: ${{ parameters.Path }}
condition: and(succeeded(), not(variables['SkipSBOM']))
1 change: 1 addition & 0 deletions windows-release/stage-layout-embed.yml
5B6C
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: sbom'
condition: and(succeeded(), not(variables['SkipSBOM']))
inputs:
PathtoPublish: $(Build.ArtifactStagingDirectory)\sbom
ArtifactName: sbom
Loading
0