mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
Generate SBOM for Python wheel package.
This commit is contained in:
parent
0e0eb3c2d5
commit
a9799f25a2
@ -92,6 +92,12 @@ do
|
||||
tar cf - ${FILE} | (cd pip-build/pgadmin4; tar xf -)
|
||||
done
|
||||
|
||||
# Generating SBOM
|
||||
echo Generating SBOM...
|
||||
cp requirements.txt pip-build/pgadmin4
|
||||
syft pip-build/pgadmin4 -o cyclonedx-json > pip-build/pgadmin4/sbom.json
|
||||
rm pip-build/pgadmin4/requirements.txt
|
||||
|
||||
# Create the distro config
|
||||
echo Creating distro config...
|
||||
echo HELP_PATH = \'../../docs/en_US/_build/html/\' > pip-build/pgadmin4/config_distro.py
|
||||
|
Loading…
Reference in New Issue
Block a user