Browse Source

CircleCI: Filter out Makefile in files and src directories when checking for modified packages

Signed-off-by: Ted Hess <thess@kitschensync.net>
lilik-openwrt-22.03
Ted Hess 6 years ago
parent
commit
2dcab943cf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .circleci/config.yml

+ 1
- 1
.circleci/config.yml View File

@ -91,7 +91,7 @@ jobs:
working_directory: ~/build_dir working_directory: ~/build_dir
command: | command: |
set +o pipefail set +o pipefail
PKGS=$(cd ~/openwrt_packages; git diff --diff-filter=d --name-only "origin/$BRANCH..." | grep 'Makefile$' | grep -v '/files/' | awk -F/ '{ print $(NF-1) }')
PKGS=$(cd ~/openwrt_packages; git diff --diff-filter=d --name-only "origin/$BRANCH..." | grep 'Makefile$' | grep -Ev '/files/|/src/' | awk -F/ '{ print $(NF-1) }')
if [ -z "$PKGS" ] ; then if [ -z "$PKGS" ] ; then
echo_blue "WARNING: No new or modified packages found!" echo_blue "WARNING: No new or modified packages found!"
exit 0 exit 0


Loading…
Cancel
Save