We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 774488d commit 20598a7Copy full SHA for 20598a7
Makefile
@@ -5,7 +5,7 @@ export GO111MODULE=on
5
all: image
6
7
TAG=$(shell git describe --tags --abbrev=10 --long)
8
-TAGGED=$(shell git tag --contains | head)
+TAGGED=$(shell git tag --sort=-creatordate --contains | head --lines=1)
9
ifneq (,$(TAGGED))
10
# We're tagged. Use the tag explicitly.
11
VERSION := $(TAGGED)
0 commit comments