From e6869fefa4031faf4ff3af07f5facdd098c43eee Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Fri, 21 May 2021 17:14:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=9D=99=E6=80=81=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E7=89=88=E6=9C=AC=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/update.sh b/shell/update.sh index c938c909..2495adf0 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -271,6 +271,10 @@ update_qinglong() { fi if [[ $exit_status -eq 0 ]]; then echo -e "\n更新$ql_static_repo成功...\n" + cd $ql_static_repo + commit_id=$(git rev-parse --short HEAD) + echo -e "\n当前静态资源版本 $commit_id...\n" + cd $dir_root rm -rf $dir_root/build && rm -rf $dir_root/dist cp -rf $ql_static_repo/* $dir_root echo -e "重启面板中..."