From 57b9d46b7a1b58899540124e7d787bd98c6d52ce Mon Sep 17 00:00:00 2001 From: makeworld Date: Sun, 6 Sep 2020 14:00:23 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Remove=20v=20prefix=20for=20vers?= =?UTF-8?q?ion=20in=20Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 09c159f..da49899 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ GIT_EXISTS := $(shell git status > /dev/null 2>&1 ; echo $$?) ifeq ($(GIT_EXISTS), 0) ifeq ($(shell git tag --points-at HEAD),) # Not currently on a tag - VERSION := $(shell git describe --tags | sed 's/-.*/-next/') # v1.2.3-next + VERSION := $(shell git describe --tags | sed 's/^v//; s/-.*/-next/') # 1.2.3-next else # On a tag VERSION := $(shell git tag --points-at HEAD)