Files
novelWriter/setup/make_release.sh
T
2022-08-18 22:38:32 +02:00

30 lines
815 B
Bash
Executable File

#!/bin/bash
set -e
if [ ! -f setup.py ]; then
echo "Must be called from the root folder of the source"
exit 1
fi
echo ""
echo " Building Dependencies"
echo "================================================================================"
echo ""
python3 setup.py clean-assets
python3 setup.py qtlrelease manual sample
echo ""
echo " Building Minimal Packages"
echo "================================================================================"
echo ""
python3 setup.py minimal-zip --target-win
python3 setup.py minimal-zip --target-linux
python3 setup.py minimal-zip --target-darwin
echo ""
echo " Building Linux Packages"
echo "================================================================================"
echo ""
python3 setup.py build-deb --sign
python3 setup.py build-ubuntu --sign --first