diff --git a/packaging/MSWindows/BUILD.sh b/packaging/MSWindows/BUILD.sh index 7b6cc7bd3e..a6652df200 100644 --- a/packaging/MSWindows/BUILD.sh +++ b/packaging/MSWindows/BUILD.sh @@ -506,7 +506,13 @@ popd > /dev/null #leave ./dist popd > /dev/null if [ "${DO_SBOM}" != "0" ]; then - ./packaging/MSWindows/BUILD.py sbom + if [ "${DO_FULL}" == "1" ]; then + ./packaging/MSWindows/BUILD.py sbom --no-light + ./packaging/MSWindows/BUILD.py export-sbom --no-light + else + ./packaging/MSWindows/BUILD.py sbom + ./packaging/MSWindows/BUILD.py export-sbom + fi fi pushd dist/lib > /dev/null