From 320c1c05cc059f6135563e57382e413d411104bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 8 Oct 2015 08:48:15 +0200 Subject: build: always take revision from current branch --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3