My server returns the following for its version: ioq3 1.36_GIT_c65d2c2-2017-04-28 linux-x86_64 May 15 2017
I’d much rather have it remove the GIT information from it and just simply display: ioq3 1.36 linux-x86_64 May 15 2017
I’ve removed the following from the Makefile. But, it’s still showing up when I compile it.
# Add git version info USE_GIT= ifeq ($(wildcard .git),.git) GIT_REV=$(shell git show -s --pretty=format:%h-%ad --date=short) ifneq ($(GIT_REV),) VERSION:=$(VERSION)_GIT_$(GIT_REV) USE_GIT=1 endif endif
Not sure why it’s showing May 15 either. I’ve modified the source code and recompiled it every day since then. Is the version cached somewhere that it’s displaying the old information and not the updated one with the proper date and removal of GIT info?