Skip to content

Commit

Permalink
Resolve #73 by using all tags in version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Turner committed Dec 7, 2018
1 parent b8fceaa commit 77de61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 77de61e

Please sign in to comment.