From 77de61e39105e0d8e475572098d8d2b8121d6247 Mon Sep 17 00:00:00 2001 From: Isaac Turner Date: Fri, 7 Dec 2018 00:52:35 +0000 Subject: [PATCH] Resolve #73 by using all tags in version string --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5a1c47c6..0944ed37 100644 --- a/Makefile +++ b/Makefile @@ -249,7 +249,7 @@ test: tests # Force version.h to be remade if $(CTX_VERSION) has changed. ifndef CTX_VERSION ifneq "$(wildcard .git)" "" -CTX_VERSION := $(shell git describe --always) +CTX_VERSION := $(shell git describe --all --always) # CTX_VERSION := $(shell git log --pretty=format:'%h' -n 1 --tags) src/global/version.h: $(if $(wildcard src/global/version.h),$(if $(findstring "$(CTX_VERSION)",$(shell cat src/global/version.h)),,force)) endif