Skip to content

Commit 84ecbcf

Browse files
committed
Use creatordate for TAG
1 parent 56be114 commit 84ecbcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BINARY=kubecrt
22

3-
TAG=$(shell git for-each-ref refs/tags --sort=-taggerdate --format='%(refname:short)' --count=1)
3+
TAG=$(shell git for-each-ref refs/tags --sort=-creatordate --format='%(refname:short)' --count=1)
44
MAJOR=`echo $(TAG) | awk -F[v.] '{print $$2}'`
55
MINOR=`echo $(TAG) | awk -F[v.] '{print $$3}'`
66
PATCH=`echo $(TAG) | awk -F[v.] '{print $$4}'`

0 commit comments

Comments
 (0)