mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
chore: added trailing empty line to changelog
This commit is contained in:
parent
f06bab0ef9
commit
aefe2fec89
@ -41,7 +41,7 @@ func (Pipe) Run(ctx *context.Context) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
ctx.ReleaseNotes = fmt.Sprintf("## Changelog\n\n%v", strings.Join(entries, "\n"))
|
||||
ctx.ReleaseNotes = fmt.Sprintf("## Changelog\n\n%v\n", strings.Join(entries, "\n"))
|
||||
var path = filepath.Join(ctx.Config.Dist, "CHANGELOG.md")
|
||||
log.WithField("changelog", path).Info("writing")
|
||||
return ioutil.WriteFile(path, []byte(ctx.ReleaseNotes), 0644)
|
||||
|
Loading…
x
Reference in New Issue
Block a user