From 5892c47f471e8a6b91a271897cd4beb0a75f881e Mon Sep 17 00:00:00 2001 From: Antonis Stamatiou Date: Thu, 22 Jun 2023 19:27:53 +0300 Subject: [PATCH] hotfix: Add safe directory for in docker execution (#111) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b666435..e42872a 100644 --- a/Makefile +++ b/Makefile @@ -351,7 +351,7 @@ else -e GITHUB_TOKEN=${GITHUB_TOKEN} \ $(DOCKER_IMAGE_GH_CLI) \ /bin/sh -c \ - "cd /app && \ + "git config --global --add safe.directory /app && cd /app && \ gh release create $(APP_VERSION) --generate-notes $(GO_OUT_BIN_DIR)/*" || ${FAIL} endif @$(OK) Generating github-release http://github.com/$(GITHUB_ORG)/$(GITHUB_REPO)/releases/tag/$(APP_VERSION) ...