Get commit delta from HEAD
This commit is contained in:
parent
baff93b173
commit
3ffb03d644
2
build.sh
2
build.sh
|
@ -171,7 +171,7 @@ echo "Finding changes to test..."
|
|||
if [ -n "$ghprbActualCommit" ]
|
||||
then
|
||||
echo "Commit hash: $ghprbActualCommit"
|
||||
export COMMIT_CHANGES="`git diff --diff-filter=AM --name-only --stat origin/master`"
|
||||
export COMMIT_CHANGES="`git diff --diff-filter=AM --name-only --stat origin/master...HEAD`"
|
||||
else
|
||||
echo "No commit provided, skipping further tests."
|
||||
exit $EXIT_OK
|
||||
|
|
Loading…
Reference in New Issue