Skip to content

Commit

Permalink
[backend] Support publishing of SBOM files
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Feb 15, 2023
1 parent 6c4b60a commit e957bdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/bs_publish
Original file line number Diff line number Diff line change
Expand Up @@ -2312,6 +2312,9 @@ sub publish {
$p = $bin;
$kiwimedium = "$arch/$1" if !$2 && -e "$r/$1.packages";
$p = mapsleimage($sleimagedata, "$reporoot/$prp/$arch/:repo", $rbin, $p) if $sleimagedata;
} elsif ($bin =~ /\.(?:cdx|spdx).json$/) {
next unless $config->{'publishflags:withsbom'};
$p = $bin;
} elsif ($bin =~ /\.packages$/) {
# FIXME2.11: to be removed
next unless $config->{'publishflags:withreports'};
Expand Down

0 comments on commit e957bdd

Please sign in to comment.