Skip to content

Commit

Permalink
Merge pull request #2672 from alfredxing/fix-ci-git-diff
Browse files Browse the repository at this point in the history
  • Loading branch information
parkr committed Aug 1, 2014
2 parents 413e22c + ff14d7b commit d8bb7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/proof
Expand Up @@ -5,7 +5,7 @@

set -e

git diff --name-only origin $(git log --pretty=format:"%h" -2 | tail -1) | grep '^site/' || {
git diff --name-only ..master | grep '^site/' || {
echo "No site files changed. We'll skip proofing."
exit 0
}
Expand Down

0 comments on commit d8bb7f7

Please sign in to comment.