diff --git a/internal/changelog/changelog.go b/internal/changelog/changelog.go index 9e548f0..913969b 100644 --- a/internal/changelog/changelog.go +++ b/internal/changelog/changelog.go @@ -4,6 +4,7 @@ import ( "bufio" "bytes" "io/ioutil" + "sort" "strings" "text/template" "time" @@ -192,6 +193,8 @@ func (c *Changelog) GenerateChangelog(templateConfig shared.ChangelogTemplateCon i++ } + sort.Sort(sort.StringSlice(authorsNames)) + changelogContent := changelogContent{ CommitsContent: commitsContent, Version: templateConfig.Version,