Skip to content

Commit

Permalink
fix relnote validation
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Feb 20, 2013
1 parent 37c1ea9 commit 0aa4bda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ check_long_lines() {
}

check_relnotes() {
if git diff --exit-code "$REVRANGE" >/dev/null 2>&1; then
return 0
else
if git diff --exit-code "$REVRANGE" master/docs/relnotes/index.rst >/dev/null 2>&1; then
return 1
else
return 0
fi
}

Expand Down

0 comments on commit 0aa4bda

Please sign in to comment.