git-chglog/go.mod
Louis DeLosSantos ebff3d0beb
feat: allow tag sorting by semver (#124)
Relates to #123.

While this does not introduce "per-branch" tag parsing it does allow an
alternative tag sorting method which maybe a better solution.

With this commit the user can decide to sort the tags by semver instead
of dates.

This is useful where repositories are utilizing a  stable branch model
and back-ports are interleaved with new releases.

For example, if your mainline is on v3.0.0 with it's last release
1/1/2021 and a back-port release of v2.0.1 is released on 1/2/2021,
sorting by semver will correctly order the change log producing
v2.0.1 -> v2.0.1 -> v3.0.0

This functionality is completely opt-in and defaults to the original
"date" sorting

Signed-off-by: ldelossa <louis.delos@gmail.com>
2021-03-20 17:21:47 -05:00

17 lines
484 B
Modula-2

module github.com/git-chglog/git-chglog
go 1.16
require (
github.com/AlecAivazis/survey/v2 v2.2.9
github.com/andygrunwald/go-jira v1.13.0
github.com/coreos/go-semver v0.3.0
github.com/fatih/color v1.10.0
github.com/imdario/mergo v0.3.12
github.com/kyokomi/emoji/v2 v2.2.8
github.com/mattn/go-colorable v0.1.8
github.com/stretchr/testify v1.7.0
github.com/tsuyoshiwada/go-gitcmd v0.0.0-20180205145712-5f1f5f9475df
github.com/urfave/cli/v2 v2.3.0
gopkg.in/yaml.v2 v2.4.0
)