From 2104a8444aaef7f4a7c1d946c2b52f9e068a5833 Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 28 May 2020 13:15:43 -0700 Subject: [PATCH] ci: fix changelog generation --- master/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/Makefile b/master/Makefile index 4701fb93198..d52da6f0337 100644 --- a/master/Makefile +++ b/master/Makefile @@ -57,7 +57,7 @@ package: release: export DET_SEGMENT_MASTER_KEY ?= "" release: export DET_SEGMENT_WEBUI_KEY ?= "" release: export GORELEASER_CURRENT_TAG := $(VERSION) -release: export GORELEASER_PREVIOUS_TAG := $(shell git tag --sort=-creatordate | grep -v "rc" | grep "v$(VERSION)" -A1 | sed -n '2 p') +release: export GORELEASER_PREVIOUS_TAG := $(shell git tag --sort=-creatordate | grep -v "rc\|v" | grep "$(VERSION)" -A1 | sed -n '2 p') release: goreleaser --rm-dist