From 89635055a8f5224aff43c167caa8cd86ac13b175 Mon Sep 17 00:00:00 2001 From: Peter Shen Date: Sun, 19 Nov 2023 09:20:50 -0500 Subject: [PATCH] fix: Update entrypoint.sh (#26) --- entrypoint.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5389097..d3dda19 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,11 +7,14 @@ run_commit_check(){ args="" if [[ "$MESSAGE" == "true" ]]; then args="$args --message" - elif [[ "$BRANCH" == "true" ]]; then + fi + if [[ "$BRANCH" == "true" ]]; then args="$args --branch" - elif [[ "$AUTHOR_NAME" == "true" ]]; then + fi + if [[ "$AUTHOR_NAME" == "true" ]]; then args="$args --author-name" - elif [[ "$AUTHOR_EMAIL" == "true" ]]; then + fi + if [[ "$AUTHOR_EMAIL" == "true" ]]; then args="$args --author-email" fi