From 4c95804ea9437a5d1c6abc34324c4909c37aeecd Mon Sep 17 00:00:00 2001 From: Norbert Bartko Date: Mon, 4 Jan 2021 10:45:44 +0000 Subject: [PATCH] Fix typo --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 55f64eb..7b2ef70 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -53,7 +53,7 @@ fi # Set start and stop date if empty printf "\n>\n> Check if start and end date is set\n" -if [ "${INPUT_START_DATE}" -eq "" ]; then +if [ "${INPUT_START_DATE}" = "" ]; then printf "\n> \tStart date is empty\n" local first_commit=git rev-list --max-parents=0 HEAD echo "First commit: $first_commit" @@ -63,7 +63,7 @@ if [ "${INPUT_START_DATE}" -eq "" ]; then else printf "\n> \tStart date is set to: $INPUT_START_DATE\n" fi -if [ "${INPUT_END_DATE}" -eq "" ]; then +if [ "${INPUT_END_DATE}" = "" ]; then printf "\n> \tEnd date is empty\n" local last_commit=git rev-parse HEAD echo "last commit: $last_commit"