feat(合并提交): 合并提交,log改fmt减少依赖
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

pull/4/head v1.0.4
xiaoqidun 1 year ago
parent b45c7a8e32
commit d36f61bc80

@ -6,7 +6,6 @@ import (
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"os/exec"
"strconv"
@ -98,7 +97,7 @@ func main() {
czCommit.Closes = InputCloses()
commit := GenerateCommit(czCommit)
if err := GitCommit(commit, *amend); err != nil {
log.Println(err)
fmt.Println(err)
}
}
@ -221,6 +220,7 @@ func InputCloses() *string {
NewLine()
return &text
}
NewLine()
return nil
}

@ -1,3 +1,3 @@
module github.com/xiaoqidun/gitcz
go 1.17
go 1.18

Loading…
Cancel
Save