refactor(changelog): sort authors

This commit is contained in:
Sebastian
2022-04-11 20:24:36 +02:00
committed by Felix Wiedmann
parent fd1063132f
commit 8acb8b74b8

View File

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