Update Debian build

This commit is contained in:
Veronica Berglyd Olsen
2025-10-19 00:19:47 +02:00
parent e21d944461
commit 41c58a52e3
5 changed files with 21 additions and 20 deletions
+4 -12
View File
@@ -1,8 +1,6 @@
#!/bin/bash
set -e
ENVPATH=/tmp/nwBuild
if [ ! -f pkgutils.py ]; then
echo "Must be called from the root folder of the source"
exit 1
@@ -12,18 +10,12 @@ echo ""
echo " Building Dependencies"
echo "================================================================================"
echo ""
if [ ! -d $ENVPATH ]; then
python3 -m venv $ENVPATH
fi
source $ENVPATH/bin/activate
pip3 install -r requirements.txt -r docs/requirements.txt
python3 pkgutils.py build-assets
python3 pkgutils.py icons optional
deactivate
uv run pkgutils.py build-assets
uv run pkgutils.py icons optional
echo ""
echo " Building Linux Packages"
echo "================================================================================"
echo ""
python3 pkgutils.py build-deb --sign
python3 pkgutils.py build-ubuntu --sign
uv run pkgutils.py build-deb --sign
uv run pkgutils.py build-ubuntu --sign