Output git version and debugging message
This commit is contained in:
parent
e8ab63a01b
commit
fbbf9665a8
@ -51,8 +51,11 @@ _add_files() {
|
|||||||
_local_commit() {
|
_local_commit() {
|
||||||
echo "INPUT_COMMIT_OPTIONS: ${INPUT_COMMIT_OPTIONS}";
|
echo "INPUT_COMMIT_OPTIONS: ${INPUT_COMMIT_OPTIONS}";
|
||||||
|
|
||||||
|
git --version;
|
||||||
|
|
||||||
if [ -n "$INPUT_COMMIT_OPTIONS" ]
|
if [ -n "$INPUT_COMMIT_OPTIONS" ]
|
||||||
then
|
then
|
||||||
|
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user