Attempt to filter folders
This commit is contained in:
13
kibot-ci.yml
13
kibot-ci.yml
@@ -48,8 +48,17 @@ image:
|
||||
- 'SCHEMS=$(for f in $SCHEMS ; do echo "${f##**/}"; done)'
|
||||
dir_arr:
|
||||
- !reference [.commands, get_dirs]
|
||||
- END=$(wc -w <<< $DIRS)
|
||||
- dir_arr=($DIRS)
|
||||
- |
|
||||
FILTERED=$(echo "")
|
||||
for d in $DIRS
|
||||
do
|
||||
if [[ "$d" =~ ^[0-9]{4}-.*$ ]]
|
||||
then
|
||||
FILTERED=$(echo "$FILTERED $d")
|
||||
fi
|
||||
done
|
||||
END=$(wc -w <<< $FILTERED)
|
||||
dir_arr=($FILTERED)
|
||||
kibot:
|
||||
- 'SEARCH=".kicad_pro"'
|
||||
- !reference [.commands, dir_arr]
|
||||
|
||||
Reference in New Issue
Block a user