You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-09-16 09:26:52 +02:00
log
This commit is contained in:
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 {
|
||||
|
Reference in New Issue
Block a user