From 6f270a388363312adc7c24ad5684144ecd5cfc3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Mon, 6 Mar 2023 16:52:40 +0100 Subject: [PATCH] fix: release (#6502) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4a32f4d940..1c200a444f 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ GIT_VERSION_DEV := $(shell git describe --match "[0-9].[0-9]-dev*") GIT_BRANCH := $(shell git branch --show-current | cut -d ' ' -f2) GIT_HASH := $(GIT_BRANCH)/$(shell git log -1 --pretty=format:"%H") ifeq ($(GIT_BRANCH),) -GIT_BRANCH := $(shell git branch -a --contains $(git log -1 --format='%H') --list '*origin/release-*' | cut -d '/' -f3) +GIT_BRANCH := $(shell git branch -a --list '*origin/release-*' --contains $(git log -1 --format='%H') | cut -d '/' -f3) endif TIMESTAMP := $(shell date '+%Y-%m-%d_%I:%M:%S%p') VERSION ?= $(shell git describe --match "v[0-9]*")