diff --git a/Makefile b/Makefile index edb5be99..f0a0618d 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ ifeq ($(BRANCH),Alpha) VERSION=alpha-$(shell git rev-parse --short HEAD) else ifeq ($(BRANCH),Beta) VERSION=beta-$(shell git rev-parse --short HEAD) -else ifeq ($(BRANCH),HEAD) +else ifeq ($(BRANCH),) VERSION=$(shell git describe --tags) else VERSION=unknown