build release.env against whole repo, not config folder
This commit is contained in:
parent
0fe125fa8f
commit
14c700d3be
8
Makefile
8
Makefile
|
@ -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)),)
|
||||||
|
|
Loading…
Reference in New Issue