Skip to content

Commit e47d7c4

Browse files
Update tandoor.sh: Call version.py to write current version (#1454)
1 parent ac64a9d commit e47d7c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ct/tandoor.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ function update_script() {
4545
cd /opt/tandoor/vue
4646
yarn install >/dev/null 2>&1
4747
yarn build >/dev/null 2>&1
48+
cd /opt/tandoor
49+
python3 version.py &>/dev/null
4850
systemctl restart gunicorn_tandoor
4951
msg_ok "Updated ${APP}"
5052
fi
@@ -58,4 +60,4 @@ description
5860
msg_ok "Completed Successfully!\n"
5961
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
6062
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
61-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8002${CL}"
63+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8002${CL}"

0 commit comments

Comments
 (0)