From c3e82da15a5295bf2d9fb7e160d464d0bfd4aef9 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Mon, 28 Oct 2024 15:21:22 +0800 Subject: [PATCH] ... --- hua_wei_yun/12wms86-sd-test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hua_wei_yun/12wms86-sd-test.sh b/hua_wei_yun/12wms86-sd-test.sh index 7e492d8..4a9c12c 100644 --- a/hua_wei_yun/12wms86-sd-test.sh +++ b/hua_wei_yun/12wms86-sd-test.sh @@ -158,6 +158,11 @@ deployPull() { git pull echo "###--代码更新完成--------------------------------------------------------------------------###" echo "" + + 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/wms-ui/index.html $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/wms-ui/index.html + sed } deployServer() {