Skip to content

Commit

Permalink
refactor(changelog): sort authors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightapes authored and fwiedmann committed Apr 11, 2022
1 parent fd10631 commit 8acb8b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/changelog/changelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"bufio"
"bytes"
"io/ioutil"
"sort"
"strings"
"text/template"
"time"
Expand Down Expand Up @@ -192,6 +193,8 @@ func (c *Changelog) GenerateChangelog(templateConfig shared.ChangelogTemplateCon
i++
}

sort.Sort(sort.StringSlice(authorsNames))

changelogContent := changelogContent{
CommitsContent: commitsContent,
Version: templateConfig.Version,
Expand Down

0 comments on commit 8acb8b7

Please sign in to comment.