Skip to content

Commit f8e962a

Browse files
committed
chore: add tag_sort option to goreleaser
Choose more recently-created tag if multiple tags point to same ref Signed-off-by: Danny Kopping <dannykopping@gmail.com>
1 parent 50ed1c1 commit f8e962a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.goreleaser.yml

+2
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ changelog:
6060
use: github-native
6161
sort: asc
6262
abbrev: 0
63+
git:
64+
tag_sort: -version:creatordate # if two tags reference the same commit, pick the latest one; see https://github.com/goreleaser/goreleaser/issues/4209

0 commit comments

Comments
 (0)