Browse Source

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

- 在 003sync_code_prod.sh 和 004sync_code_test.sh 脚本中,在最后的部署提示信息中添加了当前日期和时间戳
- 该修改提高了部署信息的可追踪性和时间敏感性
master
lizw-2015 7 months ago
parent
commit
4705f1fc46
  1. 2
      dsl/003sync_code_prod.sh
  2. 2
      dsl/004sync_code_test.sh

2
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 "接下来:登录大参林能笑平台,等待构建完成,手动部署应用。[$(date +_%Y_%m_%d_%H_%M_%S)]"
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)

2
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 "接下来:登录大参林能笑平台,等待构建完成,手动部署应用。[$(date +_%Y_%m_%d_%H_%M_%S)]"
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)

Loading…
Cancel
Save