Skip to content

Commit

Permalink
Merge pull request #1302 from saschagrunert/verbose-git-push
Browse files Browse the repository at this point in the history
anago: push git branch verbose
  • Loading branch information
k8s-ci-robot authored May 19, 2020
2 parents dd0d344 + 70fc9b7 commit f647485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anago
Original file line number Diff line number Diff line change
Expand Up @@ -859,11 +859,11 @@ push_git_objects () {

if [[ "$RELEASE_BRANCH" =~ release- ]]; then
logecho -n "Pushing$dryrun_flag $RELEASE_BRANCH branch: "
logrun -s git push$dryrun_flag origin $RELEASE_BRANCH || return 1
logrun -v -s git push$dryrun_flag origin $RELEASE_BRANCH || return 1
# Additionally push the parent branch if a branch of branch
if [[ "$PARENT_BRANCH" =~ release- ]]; then
logecho -n "Pushing$dryrun_flag $PARENT_BRANCH branch: "
logrun -s git push$dryrun_flag origin $PARENT_BRANCH || return 1
logrun -v -s git push$dryrun_flag origin $PARENT_BRANCH || return 1
fi
fi

Expand Down

0 comments on commit f647485

Please sign in to comment.