From 1ee136f4392f6e7b95bf621c05b5e10601f022de Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Tue, 28 Apr 2020 13:12:43 +0200 Subject: [PATCH] Inline user config with tag command --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 92e9fb0..f6c522c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -66,7 +66,7 @@ _tag_commit() { if [ -n "$INPUT_TAGGING_MESSAGE" ] then echo "::debug::Create tag $INPUT_TAGGING_MESSAGE"; - git tag -a "$INPUT_TAGGING_MESSAGE" -m "$INPUT_TAGGING_MESSAGE"; + git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" tag -a "$INPUT_TAGGING_MESSAGE" -m "$INPUT_TAGGING_MESSAGE"; else echo " No tagging message supplied. No tag will be added."; fi