This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 6dab1cbc534 (chores) ci: when be non-inclusive when evaluating the 
change log for testing
6dab1cbc534 is described below

commit 6dab1cbc53422398616025788bca9cab3479895b
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Thu Apr 14 08:23:35 2022 +0200

    (chores) ci: when be non-inclusive when evaluating the change log for 
testing
---
 .github/actions/quick-test/quick-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/quick-test/quick-test.sh 
b/.github/actions/quick-test/quick-test.sh
index 626dea76bdf..df9957a3082 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -90,7 +90,7 @@ function main() {
   mkdir -p "${logDir}"
 
   echo "Searching for modified components"
-  local components=$(git diff "${startCommit}^..${endCommit}" --name-only 
--pretty=format:"" | grep -e '^components' | grep -v -e '^$' | cut -d / -f 1-2 
| uniq | sort)
+  local components=$(git diff "${startCommit}..${endCommit}" --name-only 
--pretty=format:"" | grep -e '^components' | grep -v -e '^$' | cut -d / -f 1-2 
| uniq | sort)
   local total=$(echo "${components}" | grep -v -e '^$' | wc -l)
 
   echo "${total}" > "${logDir}/total"

Reply via email to