1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

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

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}"