lizw 9 tháng trước cách đây
mục cha
commit
c3e82da15a
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      hua_wei_yun/12wms86-sd-test.sh

+ 5 - 0
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() {