Skip to content
Snippets Groups Projects
Unverified Commit a8314a49 authored by Martyn Gigg's avatar Martyn Gigg Committed by GitHub
Browse files

Add dev-docs to check_for_changes script

Changes to dev-docs are now identified as doc changes so builds can be skipped if necessary.
parent 5c762252
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ case "$TYPE" in
# FOUND=1 iff changes are limited to docs or GUI only
# Find all changed files and grep for required type. -v inverts match so grep=0 means
# there are other changes besides this
if git diff --name-only ${BRANCH_TIP} ${BRANCH_BASE} -- | grep -q -E -v '^docs/|^qt/|^MantidPlot/'; then
if git diff --name-only ${BRANCH_TIP} ${BRANCH_BASE} -- | grep -q -E -v '^docs/|^dev-docs/|^qt/|^MantidPlot/'; then
exit $FOUND
else
exit $NOTFOUND
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment