build release.env against whole repo, not config folder

This commit is contained in:
Lance Vick 2023-02-10 12:57:10 -08:00
parent 0fe125fa8f
commit 14c700d3be
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 4 additions and 4 deletions

View File

@ -6,10 +6,10 @@ NAME := $(shell basename $(shell git rev-parse --show-toplevel))
IMAGE := local/$(NAME):latest IMAGE := local/$(NAME):latest
USER := $(shell id -u):$(shell id -g) USER := $(shell id -u):$(shell id -g)
CPUS := $(shell docker run -it debian nproc) CPUS := $(shell docker run -it debian nproc)
GIT_REF := $(shell git log -1 --format=%H config) GIT_REF := $(shell git log -1 --format=%H)
GIT_AUTHOR := $(shell git log -1 --format=%an config) GIT_AUTHOR := $(shell git log -1 --format=%an)
GIT_KEY := $(shell git log -1 --format=%GP config) GIT_KEY := $(shell git log -1 --format=%GP)
GIT_EPOCH := $(shell git log -1 --format=%at config) GIT_EPOCH := $(shell git log -1 --format=%at)
GIT_DATETIME := \ GIT_DATETIME := \
$(shell git log -1 --format=%cd --date=format:'%Y-%m-%d %H:%M:%S' config) $(shell git log -1 --format=%cd --date=format:'%Y-%m-%d %H:%M:%S' config)
ifeq ($(strip $(shell git status --porcelain 2>/dev/null)),) ifeq ($(strip $(shell git status --porcelain 2>/dev/null)),)