Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NBprojekt authored Jan 4, 2021
1 parent 36d7683 commit 4c95804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 4c95804

Please sign in to comment.