Skip to content

Commit

Permalink
fix: go-release must sort tags by date when multiple tags on same com…
Browse files Browse the repository at this point in the history
…mit (#441)
  • Loading branch information
shahbazn authored Aug 31, 2023
1 parent c989444 commit 424d7f7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ before:
- apt update && apt install musl-dev=1.2.2-1
env:
- CGO_ENABLED=1

git:
# What should be used to sort tags when gathering the current and previous
# tags if there are more than one tag in the same commit.
#
# Default: '-version:refname'
# Source: https://goreleaser.com/customization/git/
tag_sort: -version:creatordate

builds:
- id: archwayd-linux-amd64
main: ./cmd/archwayd
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ Contains bug fixes.
Contains all the PRs that improved the code without changing the behaviours.
-->

## [main]

### Fixed

- [#441](https://github.com/archway-network/archway/pull/441) - go-releaser must order tags with create date, when there are multiple tags on the same commit

## [v4.0.1]

### Fixed
Expand Down

0 comments on commit 424d7f7

Please sign in to comment.