|
@@ -17,12 +17,16 @@ git checkout .
|
|
echo -e "$echoPrefix git pull $echoSuffix"
|
|
echo -e "$echoPrefix git pull $echoSuffix"
|
|
git pull
|
|
git pull
|
|
|
|
|
|
|
|
+echo "###--代码更新完成--------------------------------------------------------------------------###"
|
|
|
|
+
|
|
# 编译
|
|
# 编译
|
|
echo -e "$echoPrefix cd $codePath/wms-biz/pda-client/ $echoSuffix"
|
|
echo -e "$echoPrefix cd $codePath/wms-biz/pda-client/ $echoSuffix"
|
|
cd $codePath/wms-biz/pda-client/
|
|
cd $codePath/wms-biz/pda-client/
|
|
echo -e "$echoPrefix yarn build $echoSuffix"
|
|
echo -e "$echoPrefix yarn build $echoSuffix"
|
|
yarn build
|
|
yarn build
|
|
|
|
|
|
|
|
+echo "###--编译完成-----------------------------------------------------------------------------###"
|
|
|
|
+
|
|
# 创建打包文件夹
|
|
# 创建打包文件夹
|
|
echo -e "$echoPrefix rm -rf $codePath/tmp $echoSuffix"
|
|
echo -e "$echoPrefix rm -rf $codePath/tmp $echoSuffix"
|
|
#rm -rf $codePath/tmp
|
|
#rm -rf $codePath/tmp
|
|
@@ -92,5 +96,6 @@ cd $codePath/tmp
|
|
echo -e "$echoPrefix zip -r web.zip web $echoSuffix"
|
|
echo -e "$echoPrefix zip -r web.zip web $echoSuffix"
|
|
zip -r web.zip web
|
|
zip -r web.zip web
|
|
|
|
|
|
|
|
+echo "###--打包完成-----------------------------------------------------------------------------###"
|
|
|
|
|
|
# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt-yn/pre-deploy-pad.sh) [cmd profiles]
|
|
# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt-yn/pre-deploy-pad.sh) [cmd profiles]
|