소스 검색

#15908: Update upgrade.sh

Jeremy Stretch 1 년 전
부모
커밋
4da5bd6ed1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"