From 2b6b90e8f19aab760cf0dd11b38caad38562f165 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Sat, 14 Mar 2020 13:20:32 +0100 Subject: [PATCH] Test shorthand --- entrypoint.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 2118375..af80ade 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -75,14 +75,15 @@ _tag_commit() { _push_to_github() { if [ -z "$INPUT_BRANCH" ] then + git push origin --all --tags # Only add `--tags` option, if `$INPUT_TAGGING_MESSAGE` is set - if [ -n "$INPUT_TAGGING_MESSAGE" ] - then - git push origin --tags - else - git push origin - fi + # if [ -n "$INPUT_TAGGING_MESSAGE" ] + # then + # git push origin --tags + # else + # git push origin + # fi else git push --set-upstream origin "HEAD:$INPUT_BRANCH" --tags