From dfdc1652a2e28c41059b8bc187c78b92c325d253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 4 Jun 2024 10:22:26 +0200 Subject: [PATCH] fix(make)_: use shell to get git commit and author MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ea9860a65e7..5ef53df26a5 100644 --- a/Makefile +++ b/Makefile @@ -55,8 +55,8 @@ CGO_CFLAGS = -I/$(JAVA_HOME)/include -I/$(JAVA_HOME)/include/darwin export GOPATH ?= $(HOME)/go GIT_ROOT := $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) -GIT_COMMIT := $(call sh, git rev-parse --short HEAD) -GIT_AUTHOR := $(call sh, git config user.email || echo $$USER) +GIT_COMMIT := $(shell git rev-parse --short HEAD) +GIT_AUTHOR := $(shell git config user.email || echo $$USER) ENABLE_METRICS ?= true BUILD_TAGS ?= gowaku_no_rln