diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-08 08:48:15 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-08 08:48:15 +0200 |
| commit | 320c1c05cc059f6135563e57382e413d411104bd (patch) | |
| tree | 8bd658081e2f91a5917324eaf96bb759b68703fb | |
| parent | c34ff4c479cb54faeaac3be54c8b7ff15552cf9e (diff) | |
| download | vis-320c1c05cc059f6135563e57382e413d411104bd.tar.gz vis-320c1c05cc059f6135563e57382e413d411104bd.tar.xz | |
build: always take revision from current branch
| -rw-r--r-- | config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
