Fix: Copy the spdx file in root of the $project 54/70954/18 v0.82.2
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 26 Oct 2022 23:34:26 +0000 (09:34 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Sat, 29 Oct 2022 07:28:12 +0000 (17:28 +1000)
commit3c627ccf046b02f12767aa45d9ac4bf515352f2f
tree5f03688d04df4e36d0debcf855fc9dc7d449a6d1
parent84c8fef9bb02da303d1dacd2ec5339650bd87e5d
Fix: Copy the spdx file in root of the $project

The SBOM generator script creates an spdx file in the root level.
When the artifacts are pushed the spdx file gets overwritten.

Create the spdx file as ${PROJECT}-sbom-${release_version}.spdx
and then copy the spdx file under the namespace ${group_id_path} dir.

Change-Id: Ia8bd06ac160e30886c7133aef8f0c82e5aded3dd
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
releasenotes/notes/fix-sbom-file-creation-12eb6bc1d0cdaf36.yaml [new file with mode: 0644]
shell/sbom-generator.sh