1
0
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:
Carlos Alexandro Becker 2018-05-06 09:31:55 -03:00
parent f06bab0ef9
commit aefe2fec89
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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)