🐛 打印推送标签异常

This commit is contained in:
徐晓伟 2023-11-24 08:46:36 +08:00
parent 12fbb84516
commit 03c8066efa
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ func GitPushTag(instance string, repository string, username, token, tag string)
cmdPush := exec.Command("git", "push", origin, tag)
_, err = cmdPush.Output()
if err != nil {
log.Printf("Git 推送远端 %s 标签 %s 异常\n", origin, tag)
log.Printf("Git 推送远端 %s 标签 %s 异常\n%s", origin, tag, err)
return err
}