Explorar o código

#15908: Update upgrade.sh

Jeremy Stretch hai 1 ano
pai
achega
4da5bd6ed1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      upgrade.sh

+ 1 - 1
upgrade.sh

@@ -8,7 +8,7 @@
 
 cd "$(dirname "$0")"
 
-NETBOX_VERSION="$(grep ^VERSION netbox/netbox/settings.py | cut -d\' -f2)"
+NETBOX_VERSION="$(grep ^version netbox/release.yaml | cut -d \" -f2)"
 echo "You are installing (or upgrading to) NetBox version ${NETBOX_VERSION}"
 
 VIRTUALENV="$(pwd -P)/venv"