From da55e4a0cfa97050aa19909147f5fbb20c15ec16 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Sat, 14 Mar 2020 13:09:53 +0100 Subject: [PATCH] Add echo statements for easier debugging --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 8372817..4b30af9 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -67,12 +67,15 @@ _tag_commit() { if [ -n "$INPUT_TAGGING_MESSAGE" ] then git tag -a "$INPUT_TAGGING_MESSAGE" -m "$INPUT_TAGGING_MESSAGE" + else + echo " No tagging message supplied. Not tag will be added" fi } _push_to_github() { if [ -z "$INPUT_BRANCH" ] then + echo "git push origin without branch name" git push origin --tags else git push --set-upstream origin "HEAD:$INPUT_BRANCH" --tags