Skip to content

Commit

Permalink
Sync GIT_TAG with main branch (#12658)
Browse files Browse the repository at this point in the history
changes:
-  7 chars for commit id
- match pattern *.*.* (for example -- it will match v2.60.9 or 2.60.9)
  • Loading branch information
lystopad authored Nov 7, 2024
1 parent 3afee08 commit 04f94b4
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 04f94b4

Please sign in to comment.