Kaynağa Gözat

prod-deploy-his-data.sh

lizw 1 yıl önce
ebeveyn
işleme
2c868b4d2f
1 değiştirilmiş dosya ile 32 ekleme ve 32 silme
  1. 32 32
      yxt-lmis-to-wms8/prod-deploy-his-data.sh

+ 32 - 32
yxt-lmis-to-wms8/prod-deploy-his-data.sh

@@ -12,10 +12,10 @@ gitUrlArr=(
 )
 
 branchArr=(
+  "pgsql"
   "master"
-  "master"
-  "master"
-  "master"
+  "pgsql"
+  "pgsql"
   "master"
 )
 positionArr=(
@@ -78,35 +78,35 @@ pullCode() {
 }
 
 buildCode() {
-#  # 构建 yvan-ext
-#  if [ "${needBuild[1]}" != "0" ]; then
-#    echo -e "$echoPrefix cd $codePath/yvan-ext $echoSuffix"
-#    cd "$codePath/yvan-ext"
-#    echo -e "$echoPrefix yarn $echoSuffix"
-#    yarn
-#    echo -e "$echoPrefix yarn link $echoSuffix"
-#    yarn link
-#    echo -e "$echoPrefix yarn build $echoSuffix"
-#    yarn build
-#    echo ""
-#  else
-#    echo "yvan-ext 文件未变化"
-#  fi
-#
-#  # 构建 yvan-ext-mobile
-#  if [ "${needBuild[4]}" != "0" ]; then
-#    echo -e "$echoPrefix cd $codePath/yvan-ext-mobile $echoSuffix"
-#    cd "$codePath/yvan-ext-mobile"
-#    echo -e "$echoPrefix yarn $echoSuffix"
-#    yarn
-#    echo -e "$echoPrefix yarn link $echoSuffix"
-#    yarn link
-#    echo -e "$echoPrefix yarn build $echoSuffix"
-#    yarn build
-#    echo ""
-#  else
-#    echo "yvan-ext-mobile 文件未变化"
-#  fi
+  # 构建 yvan-ext
+  if [ "${needBuild[1]}" != "0" ]; then
+    echo -e "$echoPrefix cd $codePath/yvan-ext $echoSuffix"
+    cd "$codePath/yvan-ext"
+    echo -e "$echoPrefix yarn $echoSuffix"
+    yarn
+    echo -e "$echoPrefix yarn link $echoSuffix"
+    yarn link
+    echo -e "$echoPrefix yarn build $echoSuffix"
+    yarn build
+    echo ""
+  else
+    echo "yvan-ext 文件未变化"
+  fi
+
+  # 构建 yvan-ext-mobile
+  if [ "${needBuild[4]}" != "0" ]; then
+    echo -e "$echoPrefix cd $codePath/yvan-ext-mobile $echoSuffix"
+    cd "$codePath/yvan-ext-mobile"
+    echo -e "$echoPrefix yarn $echoSuffix"
+    yarn
+    echo -e "$echoPrefix yarn link $echoSuffix"
+    yarn link
+    echo -e "$echoPrefix yarn build $echoSuffix"
+    yarn build
+    echo ""
+  else
+    echo "yvan-ext-mobile 文件未变化"
+  fi
 
   # 构建 wms-biz/bundle
   if [ "${needBuild[0]}" != "0" ]; then