upgrade and fix goreleaser issue

Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com>
pull/5899/head
Anshul Ahuja 2023-02-22 06:36:51 +00:00
parent 5555f7d4e7
commit 1730f8bcb4
3 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1 @@
Fix goreleaser issue for resolving tags and updated it's version.

View File

@ -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

View File

@ -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