Browse Source

CI: look for changes only in build.sh scripts

emacs-27
Leonid Plyushch 6 years ago
parent
commit
68ee2d8abd
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      scripts/build/ci/cirrus-ci_dispatcher.sh

2
scripts/build/ci/cirrus-ci_dispatcher.sh

@ -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

Loading…
Cancel
Save