Skip to content

Commit

Permalink
Fix for the issues/11968 (#11969)
Browse files Browse the repository at this point in the history
Use wider pattern to find most recent tag (not prefixed with "v") and
set commit id by 7 chars only.

See - #11968
  • Loading branch information
lystopad authored Sep 12, 2024
1 parent 372e62c commit 6ac7005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6ac7005

Please sign in to comment.