From 6d9684db3a39fcf5c630f2a5df0d121bef95a20e Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Thu, 5 May 2016 16:52:12 +0200 Subject: Fix beta version suffix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a4a9bee0..3ad0447d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ LAST_TAG := $(shell git describe --tags --abbrev=0) COMMITS := $(shell echo `git log --oneline $(LAST_TAG)..HEAD | wc -l`) VERSION := $(shell cat VERSION) -ifneq ($(VERSION),$(LAST_TAG)) +ifneq (v$(VERSION),$(LAST_TAG)) VERSION := $(shell echo $(VERSION)~beta.$(COMMITS).g$(REVISION)) endif -- cgit v1.2.3