Update tandoor.sh: Call version.py to write current version (#1454)
This commit is contained in:
parent
ac64a9de31
commit
e47d7c4452
@ -45,6 +45,8 @@ function update_script() {
|
|||||||
cd /opt/tandoor/vue
|
cd /opt/tandoor/vue
|
||||||
yarn install >/dev/null 2>&1
|
yarn install >/dev/null 2>&1
|
||||||
yarn build >/dev/null 2>&1
|
yarn build >/dev/null 2>&1
|
||||||
|
cd /opt/tandoor
|
||||||
|
python3 version.py &>/dev/null
|
||||||
systemctl restart gunicorn_tandoor
|
systemctl restart gunicorn_tandoor
|
||||||
msg_ok "Updated ${APP}"
|
msg_ok "Updated ${APP}"
|
||||||
fi
|
fi
|
||||||
@ -58,4 +60,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8002${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8002${CL}"
|
||||||
|
Loading…
Reference in New Issue
Block a user