Skip to content

Commit

Permalink
Makefile: fixing previous version computation
Browse files Browse the repository at this point in the history
Signed-off-by: xinau <[email protected]>
  • Loading branch information
xinau committed Dec 9, 2020
1 parent d802837 commit 9acfea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GO = go
TIMEOUT = 15
LDFLAGS = "-X $(MODULE)/internal/version.Version=$(VERSION) -X $(MODULE)/internal/version.BuildDate=$(DATE)"

PREV_VERSION = $(shell git describe --abbrev=0 --match=v* $(VERSION)^ 2> /dev/null)
PREV_VERSION = $(shell git describe --abbrev=0 --match=v* --tags $(VERSION)^ 2> /dev/null)

DEBUG = 0
Q = $(if $(filter 1,$DEBUG),,@)
Expand Down

0 comments on commit 9acfea4

Please sign in to comment.