ci: don't upload signature bundle for darwin
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -384,7 +384,9 @@ jobs:
|
|||||||
mv "provenance.json" "${filename}.provenance.json"
|
mv "provenance.json" "${filename}.provenance.json"
|
||||||
mv "sbom-binaries.spdx.json" "${filename}.sbom.json"
|
mv "sbom-binaries.spdx.json" "${filename}.sbom.json"
|
||||||
find . -name 'sbom*.json' -exec rm {} \;
|
find . -name 'sbom*.json' -exec rm {} \;
|
||||||
if [ -f "provenance.sigstore.json" ]; then
|
if [[ "$binname" == *darwin* ]]; then
|
||||||
|
rm -f "provenance.sigstore.json"
|
||||||
|
elif [ -f "provenance.sigstore.json" ]; then
|
||||||
mv "provenance.sigstore.json" "${filename}.sigstore.json"
|
mv "provenance.sigstore.json" "${filename}.sigstore.json"
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user