Use a consistent name for sbom files.

pull/6675/head
Khushboo Vashi 2023-08-11 15:12:26 +05:30
parent 7fcfea2214
commit e80d55e968
3 changed files with 3 additions and 3 deletions

View File

@ -358,7 +358,7 @@ REM Main build sequence Ends
:GENERATE_SBOM
ECHO Generating SBOM...
syft "%DISTROOT%\" -o cyclonedx-json > "%DISTROOT%\cyclonedx.json"
syft "%BUILDROOT%\" -o cyclonedx-json > "%BUILDROOT%\sbom.json"
:SIGN_INSTALLER
ECHO Attempting to sign the installer...

View File

@ -78,7 +78,7 @@ Maintainer: pgAdmin Development Team <pgadmin-hackers@postgresql.org>
Description: The desktop user interface for pgAdmin. pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
EOF
# Build the Debian package for the server
# Build the Debian package for the desktop
fakeroot dpkg-deb --build "${DESKTOPROOT}" "${DISTROOT}/${APP_NAME}-desktop_${APP_LONG_VERSION}_${OS_ARCH}.deb"
#

View File

@ -323,7 +323,7 @@ _complete_bundle() {
_generate_sbom() {
echo "Generating SBOM..."
syft "${BUNDLE_DIR}/Contents/" -o cyclonedx-json > "${BUNDLE_DIR}/Contents/cyclonedx.json"
syft "${BUNDLE_DIR}/Contents/" -o cyclonedx-json > "${BUNDLE_DIR}/Contents/sbom.json"
}
_codesign_binaries() {