From 80d66aecf5c77fb3da0e88f20d798a7968d1ea20 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Wed, 12 Apr 2023 10:57:49 +0800 Subject: [PATCH] 04wms-ztf-test.sh --- hua_wei_yun/04wms-ztf-test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hua_wei_yun/04wms-ztf-test.sh b/hua_wei_yun/04wms-ztf-test.sh index ec19e61..a66ef37 100644 --- a/hua_wei_yun/04wms-ztf-test.sh +++ b/hua_wei_yun/04wms-ztf-test.sh @@ -161,9 +161,9 @@ deployPull() { fi done # 设置 require_config.js 前端版本 - version=$(date +_%Y_%m_%d_%H_%M_%S) - echo -e "$echoPrefix sed -i 's/_[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}/$version/g' $codePath/public/require_config.js $echoSuffix" - sed -i "s/_[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}/$version/g" $codePath/public/require_config.js + # version=$(date +_%Y_%m_%d_%H_%M_%S) + # echo -e "$echoPrefix sed -i 's/_[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}/$version/g' $codePath/public/require_config.js $echoSuffix" + # sed -i "s/_[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}/$version/g" $codePath/public/require_config.js echo "###--代码更新完成--------------------------------------------------------------------------###" echo "" }