Skip to content

Commit

Permalink
upgrade and fix goreleaser issue
Browse files Browse the repository at this point in the history
Signed-off-by: Anshul Ahuja <[email protected]>
  • Loading branch information
Anshul Ahuja committed Feb 22, 2023
1 parent 5555f7d commit 4c79f08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 5 additions & 3 deletions hack/release-tools/goreleaser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ fi
if [[ "${PUBLISH:-}" != "TRUE" ]]; then
echo "Not set to publish"
goreleaser release \
--rm-dist \
--clean \
--release-notes="${RELEASE_NOTES_FILE}" \
--skip-publish
--skip-publish \
--config goreleaser.yaml
else
echo "Getting ready to publish"
goreleaser release \
--rm-dist \
--clean \
--release-notes="${RELEASE_NOTES_FILE}"
--config goreleaser.yaml
fi
6 changes: 6 additions & 0 deletions hack/release-tools/goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
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`
tag_sort: -version:creatordate

0 comments on commit 4c79f08

Please sign in to comment.