Friendlier release message

This commit is contained in:
Oleg Lavrovsky 2023-06-20 12:07:21 +02:00
parent df3393a857
commit 07c0e4561e
No known key found for this signature in database
GPG Key ID: 31E523030632FF4B
1 changed files with 3 additions and 2 deletions

View File

@ -4,12 +4,13 @@
# set APPDIR if running from a different directory, e.g. in container
if [ "$FORCE_MIGRATE" ]; then
# Forced upgrade
"${APPDIR:-.}/force-migrate.sh" psql
echo "Warning! Your database may be out of sync due to a forced upgrade."
else
# Silent upgrade
# Standard upgrade
python "${APPDIR:-.}/manage.py" db upgrade 2>&1 >/dev/null
echo "Warning! Your database may be out of sync due to a forced upgrade."
fi
# Compress assets