We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d50eab4 + bc66012 commit 2c6e83dCopy full SHA for 2c6e83d
1 file changed
autotag/main.go
@@ -50,15 +50,17 @@ func main() {
50
})
51
52
if err != nil {
53
- fmt.Println("Error initializing: ", err)
+ log.SetOutput(os.Stderr)
54
+ log.Println("Error initializing: " + err.Error())
55
os.Exit(1)
56
}
57
58
// Tag unless asked otherwise
59
if !opts.JustVersion {
60
err = r.AutoTag()
61
- fmt.Println("Error auto updating version: ", err.Error())
62
63
+ log.Println("Error auto updating version: " + err.Error())
64
65
66
0 commit comments