Print NetBox version in upgrade.sh (#14547)

This commit is contained in:
Markku Leiniö 2023-12-21 22:13:40 +02:00 committed by GitHub
parent 3f4a65cc5c
commit c1cf037eaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,10 @@
# Python 3.8 or later.
cd "$(dirname "$0")"
NETBOX_VERSION="$(grep ^VERSION netbox/netbox/settings.py | cut -d\' -f2)"
echo "You are installing (or upgrading to) NetBox version ${NETBOX_VERSION}"
VIRTUALENV="$(pwd -P)/venv"
PYTHON="${PYTHON:-python3}"