Skip to content

Commit

Permalink
Update update-das-queries
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar authored Mar 7, 2018
1 parent ec82fd6 commit ede8bad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions das-utils/update-das-queries
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ if [ "$PUSH_RESULTS" = "true" ] ; then
git add das_queries
if [ $(git diff --name-only origin/master | wc -l) -gt 0 ] ; then
git commit -a -m "Updated das queries"
ERR=1
for tries in 0 1 2 3 4 ; do
git pull --rebase || continue
git push origin || continue
ERR=0
break
done
if [ $ERR -gt 0 ] ; then touch $WORKSPACE/error ; fi
fi
popd
fi
Expand Down

0 comments on commit ede8bad

Please sign in to comment.