Ver código fonte

refactor(dsl): 优化代码同步脚本的部署提示信息

- 在 003sync_code_prod.sh 和 004sync_code_test.sh 脚本中,在最后的部署提示信息中添加了当前日期和时间戳
- 该修改提高了部署信息的可追踪性和时间敏感性
lizw-2015 3 semanas atrás
pai
commit
452a7bd9fc
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      dsl/003sync_code_prod.sh
  2. 1 1
      dsl/004sync_code_test.sh

+ 1 - 1
dsl/003sync_code_prod.sh

@@ -216,6 +216,6 @@ 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 ""
-echo "接下来:登录大参林能笑平台,等待构建完成,手动部署应用"
+echo "接下来:登录大参林能笑平台,等待构建完成,手动部署应用。[$(date +_%Y_%m_%d_%H_%M_%S)]"
 
 # bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/dsl/003sync_code_prod.sh)

+ 1 - 1
dsl/004sync_code_test.sh

@@ -217,6 +217,6 @@ git pull kls release/test:release/test -f
 echo -e "$echoPrefix git push dsl release/test:release/test -f $echoSuffix"
 git push dsl release/test:release/test -f
 echo ""
-echo "接下来:登录大参林能笑平台,等待构建完成,手动部署应用"
+echo "接下来:登录大参林能笑平台,等待构建完成,手动部署应用。[$(date +_%Y_%m_%d_%H_%M_%S)]"
 
 # bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/dsl/004sync_code_test.sh)