aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 6b62eb4..eb2f172 100644
--- a/config.mk
+++ b/config.mk
@@ -13,7 +13,7 @@ ifneq ($(GITTAG),)
VERSION = ${GITTAG}.r${GITREVCOUNT}.g${GITHASH}
else ifneq ($(GITHASH),)
# we have no tags in git, so just use revision count an hash for now
- GITREVCOUNT = $(shell git rev-list --count master)
+ GITREVCOUNT = $(shell git rev-list --count HEAD)
VERSION = 0.r${GITREVCOUNT}.g${GITHASH}
else
# this is used when no git is available, e.g. for release tarball