Browse Source

002sync_code.sh

master
lizw 9 months ago
parent
commit
9dabb42f35
  1. 4
      dsl/002sync_code.sh

4
dsl/002sync_code.sh

@ -217,16 +217,20 @@ git pull kls main:main -f
if [ "$cmd" == "test" ];then
echo -e "$echoPrefix git push dsl main:release/test -f $echoSuffix"
git push dsl main:release/test -f
echo ""
echo "等待大参林能笑平台构建部署,约15分钟"
elif [ "$cmd" == "prod" ];then
echo -e "$echoPrefix git push dsl main:release/prod -f $echoSuffix"
git push dsl main:release/prod -f
echo ""
echo "等待大参林能笑平台构建部署,约15分钟"
elif [ "$cmd" == "deploy" ];then
echo -e "$echoPrefix git push dsl main:develop -f $echoSuffix"
git push dsl main:develop -f
echo ""
echo "等待大参林能笑平台构建部署,约15分钟"
else
echo ""
echo "输入需要发版环境: test prod develop"
fi

Loading…
Cancel
Save