Skip to content

Commit 77de61e

Browse files
author
Isaac Turner
committed
Resolve #73 by using all tags in version string
1 parent b8fceaa commit 77de61e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ test: tests
249249
# Force version.h to be remade if $(CTX_VERSION) has changed.
250250
ifndef CTX_VERSION
251251
ifneq "$(wildcard .git)" ""
252-
CTX_VERSION := $(shell git describe --always)
252+
CTX_VERSION := $(shell git describe --all --always)
253253
# CTX_VERSION := $(shell git log --pretty=format:'%h' -n 1 --tags)
254254
src/global/version.h: $(if $(wildcard src/global/version.h),$(if $(findstring "$(CTX_VERSION)",$(shell cat src/global/version.h)),,force))
255255
endif

0 commit comments

Comments
 (0)