|
|
@ -9,7 +9,6 @@ pushPath_2=~/build/yxt_lmis_report |
|
|
pushGitUrl_2=ssh://www@122.9.140.63:3022/bot_yxt/yxt_lmis_report.git |
|
|
pushGitUrl_2=ssh://www@122.9.140.63:3022/bot_yxt/yxt_lmis_report.git |
|
|
gitUrlArr=( |
|
|
gitUrlArr=( |
|
|
"www@git.yvanui.com:yvan-private/yvan-framework.git" |
|
|
"www@git.yvanui.com:yvan-private/yvan-framework.git" |
|
|
"www@git.yvanui.com:jztd/thinkingwms-ui.git" |
|
|
|
|
|
"www@git.yvanui.com:jztd/wms-core.git" |
|
|
"www@git.yvanui.com:jztd/wms-core.git" |
|
|
"www@git.yvanui.com:jztd/yvan-ext.git" |
|
|
"www@git.yvanui.com:jztd/yvan-ext.git" |
|
|
"www@git.yvanui.com:jztd/wms8.git" |
|
|
"www@git.yvanui.com:jztd/wms8.git" |
|
|
@ -18,7 +17,6 @@ gitUrlArr=( |
|
|
) |
|
|
) |
|
|
branchArr=( |
|
|
branchArr=( |
|
|
"master" |
|
|
"master" |
|
|
"master" |
|
|
|
|
|
"yxt_20211025" |
|
|
"yxt_20211025" |
|
|
"master" |
|
|
"master" |
|
|
"master" |
|
|
"master" |
|
|
@ -27,7 +25,6 @@ branchArr=( |
|
|
) |
|
|
) |
|
|
positionArr=( |
|
|
positionArr=( |
|
|
"." |
|
|
"." |
|
|
"thinkingwms-ui" |
|
|
|
|
|
"lmis" |
|
|
"lmis" |
|
|
"yvan-ext" |
|
|
"yvan-ext" |
|
|
"wms8" |
|
|
"wms8" |
|
|
@ -42,7 +39,6 @@ needBuild=( |
|
|
"-1" |
|
|
"-1" |
|
|
"-1" |
|
|
"-1" |
|
|
"-1" |
|
|
"-1" |
|
|
"-1" |
|
|
|
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
echoPrefix="\033[36m+" |
|
|
echoPrefix="\033[36m+" |
|
|
@ -64,21 +60,6 @@ buildCode() { |
|
|
echo "yvan-ext 文件未变化" |
|
|
echo "yvan-ext 文件未变化" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# 构建 thinkingwms-ui/client |
|
|
|
|
|
if [ "${needBuild[1]}" != "0" ]; then |
|
|
|
|
|
echo -e "$echoPrefix cd $codePath/thinkingwms-ui/client $echoSuffix" |
|
|
|
|
|
cd "$codePath/thinkingwms-ui/client" |
|
|
|
|
|
echo -e "$echoPrefix yarn $echoSuffix" |
|
|
|
|
|
yarn |
|
|
|
|
|
echo -e "$echoPrefix yarn link yvan-ext $echoSuffix" |
|
|
|
|
|
yarn link yvan-ext |
|
|
|
|
|
echo -e "$echoPrefix yarn build $echoSuffix" |
|
|
|
|
|
yarn build |
|
|
|
|
|
echo "" |
|
|
|
|
|
else |
|
|
|
|
|
echo "thinkingwms-ui 文件未变化" |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# 构建 lmis/client |
|
|
# 构建 lmis/client |
|
|
if [ "${needBuild[2]}" != "0" ]; then |
|
|
if [ "${needBuild[2]}" != "0" ]; then |
|
|
echo -e "$echoPrefix cd lmis/client $echoSuffix" |
|
|
echo -e "$echoPrefix cd lmis/client $echoSuffix" |
|
|
|