You've already forked go-semantic-release
refactor(changelog): sort authors
This commit is contained in:
committed by
Felix Wiedmann
parent
fd1063132f
commit
8acb8b74b8
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user