1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-09-16 09:26:52 +02:00
This commit is contained in:
Carlos Alexandro Becker
2017-04-19 17:20:35 -03:00
parent 0d80c3cc15
commit 7afd5f1c44

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 {