From 04f94b470d9b40d1713ee00cf3353d9ea117348b Mon Sep 17 00:00:00 2001 From: lystopad Date: Thu, 7 Nov 2024 05:24:45 +0100 Subject: [PATCH] Sync GIT_TAG with main branch (#12658) changes: - 7 chars for commit id - match pattern *.*.* (for example -- it will match v2.60.9 or 2.60.9) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c47a3a97ab8..c5a56d63077 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ DOCKER := $(shell command -v docker 2> /dev/null) GIT_COMMIT ?= $(shell git rev-list -1 HEAD) GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD) -GIT_TAG ?= $(shell git describe --tags '--match=v*' --dirty) +GIT_TAG ?= $(shell git describe --tags '--match=*.*.*' --abbrev=7 --dirty) ERIGON_USER ?= erigon # if using volume-mounting data dir, then must exist on host OS DOCKER_UID ?= $(shell id -u)