Skip to content

Commit

Permalink
Fix check if git commit is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Jul 31, 2014
1 parent 9952622 commit dc2e86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [ "$TRAVIS_REPO_SLUG" == "Cumulus/Syndic" ] \

git add -f doc/

if [ -n $(git status --porcelain A) ]; then
if [ -n $(git status --untracked-files=no --porcelain) ]; then
git commit -m "Lastest ocamldoc on successful travis build $TRAVIS_BUILD_NUMBER auto-pushed to gh-pages"
git push -fq origin gh-pages
fi
Expand Down

0 comments on commit dc2e86c

Please sign in to comment.