aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2023-01-19 11:04:56 +0100
committerMichael Muré <batolettre@gmail.com>2023-01-19 11:04:56 +0100
commit5238d1ddee0dfee027ca9a4831dfd77931d8ec71 (patch)
tree321c14081c0328b94cfde3a744438f2394bed7c2 /Makefile
parent61bfe18f83e3d9a838893d84eed8fd838837968d (diff)
downloadgit-bug-5238d1ddee0dfee027ca9a4831dfd77931d8ec71.tar.gz
version: code cleanup, fix some edge cases
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ea30e193..46c307f4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
all: build
GIT_COMMIT:=$(shell git rev-list -1 HEAD)
-GIT_LAST_TAG:=$(shell git describe --dirty --tags)
+GIT_LAST_TAG:=$(shell git describe --abbrev=0 --tags)
GIT_EXACT_TAG:=$(shell git name-rev --name-only --tags HEAD)
UNAME_S := $(shell uname -s)
XARGS:=xargs -r