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:
parent
1271ae53dd
commit
75f57e7244
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user