Skip to content

Commit

Permalink
travis: Exit loop when no differences to be pushed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Jul 22, 2017
1 parent 0655de1 commit 7b2c12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis/build.sh
Expand Up @@ -366,7 +366,7 @@ if [ ! -z "$PREBUILT_DIR" ]; then
echo
echo "Changes to be pushed (Try $i)"
echo "---------------------------------------------"
git diff origin/master --stat=1000,1000 && break
git diff origin/master --stat=1000,1000 --exit-code && break
echo
echo "Pushing (Try $i)"
echo "---------------------------------------------"
Expand Down

0 comments on commit 7b2c12a

Please sign in to comment.