Skip to content

Commit

Permalink
Print NetBox version in upgrade.sh (#14547)
Browse files Browse the repository at this point in the history
  • Loading branch information
markkuleinio authored Dec 21, 2023
1 parent 3f4a65c commit c1cf037
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit c1cf037

Please sign in to comment.