Skip to content

Commit

Permalink
tooling(delete-rem-tags): pass git commit info
Browse files Browse the repository at this point in the history
Passes git author information via environment variables into the docker
container, in order to ensure commits done by the script have correct
author information.
  • Loading branch information
liketechnik committed Jul 6, 2022
1 parent deb6e9e commit f576c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ DOCKER_TEX_VOLUME = -v "$(dir $(realpath $<)):/data" -w "/data"
# for a general overview of the issue.
#
# ***Important***: keep the location of GIT_DIR in sync with the mountpoint of the repository inside the container.
DOCKER_GIT_ENV = --env GIT_DIR=/data/.git
DOCKER_GIT_ENV = --env GIT_DIR=/data/.git --env GIT_AUTHOR_NAME="$(shell git config user.name)" --env GIT_AUTHOR_EMAIL="$(shell git config user.email)"

PANDOC = $(DOCKER_COMMAND) $(DOCKER_VOLUME) $(DOCKER_USER) --entrypoint="pandoc" $(DOCKER_IMAGE)
HUGO = $(DOCKER_COMMAND) $(DOCKER_VOLUME) $(DOCKER_USER) --entrypoint="hugo" $(DOCKER_IMAGE)
Expand Down

0 comments on commit f576c36

Please sign in to comment.