chore: allow the TAG_NAME and SHA Makefile variable to be overridden (#29123)
This commit is contained in:
parent
0f65fd960f
commit
0b198ff0da
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -1,6 +1,6 @@
|
|||
# build vars
|
||||
TAG_NAME := $(shell test -d .git && git describe --abbrev=0 --tags)
|
||||
SHA := $(shell test -d .git && git rev-parse --short HEAD)
|
||||
TAG_NAME ?= $(shell test -d .git && git describe --abbrev=0 --tags)
|
||||
SHA ?= $(shell test -d .git && git rev-parse --short HEAD)
|
||||
COMMIT := $(SHA)
|
||||
# hide commit for releases
|
||||
ifeq ($(RELEASE),1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue