From ed343076683ad0b7b7aaa557e30f97429efb82f3 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 29 Jul 2014 11:38:44 -0400 Subject: [PATCH] Fix: always use git describe --all --long for the git version Signed-off-by: David Goulet --- include/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/Makefile.am b/include/Makefile.am index d2061f1e0..767b05b5d 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -21,8 +21,7 @@ version.h: git_version=""; \ else \ git_describe="$$(git describe)"; \ - if [ "$${git_branch}" == "$${git_describe}" ] || \ - [ "$${git_branch}" == "heads/master" ]; then \ + if [ "$${git_branch}" == "$${git_describe}" ]; then \ git_version="$${git_describe}"; \ else \ git_version="$$(git describe --long --all)"; \ -- 2.34.1