This commit is contained in:
mkchiliveri 2022-10-17 05:33:43 +05:30
Родитель 5fd1eefe7d
Коммит 558c80a998
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -2,11 +2,12 @@
failed=0
filesThatWereChanged=$(git diff origin/master --diff-filter=M --name-only)
for file in $filesThatWereChanged
readarray -t <<< $(git diff origin/master --diff-filter=M --name-only)
for (( i=0; i<${#MAPFILE[@]}; i++ ))
#Going over all the files that were changed in this PR
#And making sure that in every file that its filename contains the word "Detection", the version was updated
do
$file=${MAPFILE[$i]}
echo processing the file $file.
if [[ "$file" == *"Detections/"* || "$file" == *"Analytic Rules/"* ]];
then