mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Print NetBox version in upgrade.sh (#14547)
This commit is contained in:
parent
3f4a65cc5c
commit
c1cf037eaf
@ -7,6 +7,10 @@
|
|||||||
# Python 3.8 or later.
|
# Python 3.8 or later.
|
||||||
|
|
||||||
cd "$(dirname "$0")"
|
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"
|
VIRTUALENV="$(pwd -P)/venv"
|
||||||
PYTHON="${PYTHON:-python3}"
|
PYTHON="${PYTHON:-python3}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user