This commit is contained in:
Stefan Zweifel 2020-04-22 20:43:52 +02:00
parent f278d451d8
commit 1ba0b8765f

View File

@ -55,8 +55,8 @@ _local_commit() {
if [ -n "$INPUT_COMMIT_OPTIONS" ] if [ -n "$INPUT_COMMIT_OPTIONS" ]
then then
echo "::debug::Apply commit options $INPUT_COMMIT_OPTIONS"; echo "::debug::Apply commit options ${INPUT_COMMIT_OPTIONS}";
git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR" "$INPUT_COMMIT_OPTIONS"; git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR" "${INPUT_COMMIT_OPTIONS}";
else else
git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR"; git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR";
fi fi