From 97791061a72f96bd556c6f151078f4391622f0c9 Mon Sep 17 00:00:00 2001 From: John Reese Date: Tue, 27 Aug 2013 16:45:22 -0700 Subject: [PATCH] Update build version to flag a dirty working copy When building with a dirty working copy, that should be made clear in the build version. This avoids building from a dirty working copy based directly from a tag, where it's not obvious that the build contains local modifications that have not been committed. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0609315..d1f5f96 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -version := $(shell git describe) +version := $(shell git describe --dirty) push.so: push.cpp sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp