From b4bd2772f799af7b0c4ca21d0e63c5fc1f5cbcf4 Mon Sep 17 00:00:00 2001 From: Emre Ercan Date: Fri, 12 Feb 2021 14:58:24 +0100 Subject: [PATCH] Fix typos in entrypoint.sh --- entrypoint.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index c144d5d..38d24e0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,11 +17,6 @@ COMMIT_USER_EMAIL="$7" COMMIT_USERNAME="$8" COMMIT_MESSAGE="$9" -if [ -z "$COMMIT_USER_NAME" ] -then - COMMIT_USERNAME="$DESTINATION_REPOSITORY_USERNAME" -fi - SOURCE_DIR=$(mktemp -d) DESTINATION_DIR=$(mktemp -d) @@ -61,4 +56,4 @@ git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE" echo "Pushing git commit" # --set-upstream: sets de branch when pushing to a branch that does not exist -git push origin --set-upstream "$TARGET_BRANCH" +git push origin --set-upstream "$DESTINATION_BRANCH"