@lark-apaas/miaoda-cli 0.1.2-alpha.10113dd → 0.1.2-alpha.18402bb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,6 +24,7 @@ function registerDeployCommands(program) {
|
|
|
24
24
|
.option("--wait", "阻塞直到流水线终态", false)
|
|
25
25
|
.option("--timeout <sec>", "--wait 最长等待秒数(默认 300)", parseTimeout, 300)
|
|
26
26
|
.addHelpText("after", `
|
|
27
|
+
不要用异步模式或后台模式调用 deploy(例如 &、nohup、后台 task、detached run),否则调用可能提前结束,Agent 会误判发布已完成。
|
|
27
28
|
部署前置检查(Agent 必须执行)
|
|
28
29
|
miaoda deploy 跑的是当前分支的远端 HEAD——本地未 commit / 未 push 的代码不会进发布产物。
|
|
29
30
|
调用前先 \`git status\` + \`git rev-list --count @{u}..HEAD\` 确认;有未提交 / 未推送时:
|