1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

chore: Improved custom release notes logs

Improved the previous log by changing the field notes to file and also
adding a new a debug log with the actual contents of the file.

Refs #385
This commit is contained in:
Carlos Alexandro Becker 2017-10-04 11:06:05 -03:00
parent 1271ae53dd
commit 75f57e7244
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -75,7 +75,8 @@ func Release(flags Flags) error {
if err != nil {
return err
}
log.WithField("notes", notes).Info("loaded custom release notes")
log.WithField("file", notes).Info("loaded custom release notes")
log.WithField("file", notes).Debugf("custon release notes: \n%s", string(bts))
ctx.ReleaseNotes = string(bts)
}
ctx.Snapshot = flags.Bool("snapshot")