From f7d263eaf4b053ae838b4fd4f2b7af207b560b6e Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 10 Aug 2017 19:47:02 +0200 Subject: [PATCH] fix Makefile to correctly get latest Git version tag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e43e2a5ca..07dd7ff9b 100644 --- a/Makefile +++ b/Makefile @@ -102,7 +102,7 @@ SRCDIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) VPATH = $(SRCDIR) # Add git revision and build variant defines -VERSION := $(shell git describe --tags --abbrev=0 --match v*) +VERSION := $(shell git describe --tags --abbrev=0 --match 'v*') VERSION_NUM := $(shell VERSION=$(VERSION); echo $${VERSION:1}) ifdef CI