Revert changes
This commit is contained in:
parent
2b6b90e8f1
commit
f73d11d461
@ -75,15 +75,13 @@ _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
|
||||
# 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
|
||||
|
||||
else
|
||||
git push --set-upstream origin "HEAD:$INPUT_BRANCH" --tags
|
||||
|
Loading…
Reference in New Issue
Block a user