1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-19 20:57:53 +02:00
This commit is contained in:
Carlos Alexandro Becker 2017-04-19 17:20:35 -03:00
parent 0d80c3cc15
commit 7afd5f1c44
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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 {