Skip to content

Commit

Permalink
chore: sort git tag by date when multiple tags bind to one commit (#1984
Browse files Browse the repository at this point in the history
)

Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy authored Feb 17, 2025
1 parent 9065cd3 commit 9778c84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
version: 2
git:
# if there are more than one tag in the same commit.
tag_sort: -version:creatordate
before:
hooks:
- go mod tidy
Expand Down

0 comments on commit 9778c84

Please sign in to comment.