From a565de286c8a2de7b134d1c66d481c33f536a0b2 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Tue, 23 Jul 2019 12:36:34 +0300 Subject: [PATCH] CI: look for changes only in build.sh scripts --- scripts/build/ci/cirrus-ci_dispatcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/ci/cirrus-ci_dispatcher.sh b/scripts/build/ci/cirrus-ci_dispatcher.sh index 829f1c215..7d86a8e8f 100755 --- a/scripts/build/ci/cirrus-ci_dispatcher.sh +++ b/scripts/build/ci/cirrus-ci_dispatcher.sh @@ -72,7 +72,7 @@ else fi # Determine changes from commit range. -PACKAGE_NAMES=$(git diff-tree --no-commit-id --name-only -r "$GIT_CHANGES" packages/ 2>/dev/null | sed -E 's@^packages/([^/]*)/build.sh@\1@') +PACKAGE_NAMES=$(git diff-tree --no-commit-id --name-only -r "$GIT_CHANGES" packages/ 2>/dev/null | grep build.sh | sed -E 's@^packages/([^/]*)/build.sh@\1@') ## Filter deleted packages. for pkg in $PACKAGE_NAMES; do