🚧 发布项目:补充日志

This commit is contained in:
徐晓伟 2023-11-22 21:09:42 +08:00
parent 452462d6bb
commit e86cdf8bff
1 changed files with 2 additions and 0 deletions

View File

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