makefile: use git email for AUTHOR value

Local users often don't map well to names known in the org.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-02-11 14:47:11 +01:00 committed by Jakub
parent 8268083008
commit 61993fab47
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ CGO_CFLAGS = -I/$(JAVA_HOME)/include -I/$(JAVA_HOME)/include/darwin
GOBIN = $(dir $(realpath $(firstword $(MAKEFILE_LIST))))build/bin
GOPATH ?= $(HOME)/go
GIT_COMMIT = $(shell git rev-parse --short HEAD)
AUTHOR = $(shell echo $$USER)
AUTHOR ?= $(shell git config user.email || echo $$USER)
ENABLE_METRICS ?= true
BUILD_FLAGS ?= $(shell echo "-ldflags='\