Merge pull request #1020 from techman83/fix_commit_changeset
Get commit delta from HEAD
This commit is contained in:
commit
1e76577850
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