mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-19 20:57:53 +02:00
log
This commit is contained in:
parent
0d80c3cc15
commit
7afd5f1c44
2
main.go
2
main.go
@ -67,6 +67,7 @@ func main() {
|
||||
},
|
||||
}
|
||||
app.Action = func(c *cli.Context) (err error) {
|
||||
// TODO: cover this with tests
|
||||
var file = c.String("config")
|
||||
var notes = c.String("release-notes")
|
||||
cfg, err := config.Load(file)
|
||||
@ -86,6 +87,7 @@ func main() {
|
||||
if err != nil {
|
||||
return cli.NewExitError(err.Error(), 1)
|
||||
}
|
||||
log.Println("Loaded custom release notes from", notes)
|
||||
ctx.ReleaseNotes = string(bts)
|
||||
}
|
||||
for _, pipe := range pipes {
|
||||
|
Loading…
x
Reference in New Issue
Block a user