Browse Source

003sync_code_prod.sh

lizw-2015 4 days ago
parent
commit
d61610b048
1 changed files with 4 additions and 4 deletions
  1. 4 4
      dsl/003sync_code_prod.sh

+ 4 - 4
dsl/003sync_code_prod.sh

@@ -190,8 +190,8 @@ commit_target() {
   git add --all .
   echo -e "$echoPrefix git commit -m '代码同步' $echoSuffix"
   git commit -m '代码同步'
-  echo -e "$echoPrefix git push origin $target_branch $echoSuffix"
-  git push origin $target_branch
+  echo -e "$echoPrefix git push -v origin $target_branch $echoSuffix"
+  git push -v origin $target_branch
 }
 
 source_pull
@@ -213,8 +213,8 @@ git checkout release/prod
 echo -e "$echoPrefix git pull kls release/prod:release/prod -f $echoSuffix"
 git pull kls release/prod:release/prod -f
 
-echo -e "$echoPrefix git push dsl release/prod:release/prod -f $echoSuffix"
-git push dsl release/prod:release/prod -f
+echo -e "$echoPrefix git push -v dsl release/prod:release/prod -f $echoSuffix"
+git push -v dsl release/prod:release/prod -f
 echo ""
 echo "接下来:登录大参林能笑平台,等待构建完成,手动部署应用。[$(date +%Y-%m-%d' '%H:%M:%S)]"