diff --git a/build.sh b/build.sh index 87325b9fdd..f8ba714aa9 100644 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ echo Commit hash: ${ghprbActualCommit} echo Changes in this commit: -export COMMIT_CHANGES=`git diff ${ghprbActualCommit}^1 ${ghprbActualCommit}` +export COMMIT_CHANGES=`git diff-tree --name-only `git rev-parse HEAD`..${ghprbActualCommit}` echo ${COMMIT_CHANGES} wget https://raw.githubusercontent.com/KSP-CKAN/CKAN/master/bin/ckan-validate.py -O ckan-validate.py