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)'
|
- 'SCHEMS=$(for f in $SCHEMS ; do echo "${f##**/}"; done)'
|
||||||
dir_arr:
|
dir_arr:
|
||||||
- !reference [.commands, get_dirs]
|
- !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:
|
kibot:
|
||||||
- 'SEARCH=".kicad_pro"'
|
- 'SEARCH=".kicad_pro"'
|
||||||
- !reference [.commands, dir_arr]
|
- !reference [.commands, dir_arr]
|
||||||
|
|||||||
Reference in New Issue
Block a user