From e47d7c4452167e931ff143deff1922a3aa91a393 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:51:46 +0100 Subject: [PATCH] Update tandoor.sh: Call version.py to write current version (#1454) --- ct/tandoor.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ct/tandoor.sh b/ct/tandoor.sh index 146c73ee..9a3dfe89 100644 --- a/ct/tandoor.sh +++ b/ct/tandoor.sh @@ -45,6 +45,8 @@ function update_script() { cd /opt/tandoor/vue yarn install >/dev/null 2>&1 yarn build >/dev/null 2>&1 + cd /opt/tandoor + python3 version.py &>/dev/null systemctl restart gunicorn_tandoor msg_ok "Updated ${APP}" fi @@ -58,4 +60,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8002${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8002${CL}"