Skip to content

Commit

Permalink
fix(make)_: use shell to get git commit and author
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Sokołowski <[email protected]>
  • Loading branch information
jakubgs committed Jun 4, 2024
1 parent 6f2b02c commit dfdc165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfdc165

Please sign in to comment.