CI: look for changes only in build.sh scripts

This commit is contained in:
Leonid Pliushch 2019-07-23 12:36:34 +03:00
parent e80a6dd133
commit fb4b3a982c

View File

@ -79,7 +79,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