Skip to content

Commit

Permalink
Use creatordate for TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
oscaredel committed Jul 28, 2021
1 parent 56be114 commit 84ecbcf
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
@@ -1,6 +1,6 @@
BINARY=kubecrt

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

0 comments on commit 84ecbcf

Please sign in to comment.