This commit is contained in:
mkchiliveri 2022-10-17 06:34:51 +05:30
Родитель 0233b3928a
Коммит f9cf21aca2
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -10,7 +10,7 @@ for (( i=0; i<${#MAPFILE[@]}; i++ ))
if [[ "${MAPFILE[$i]}" == *"Detections/"* || "${MAPFILE[$i]}" == *"Analytic Rules/"* ]];
then
echo ${MAPFILE[$i]} is a detection
diffs=$(echo $(git diff origin/master -U0 --ignore-space-change ${MAPFILE[$i]}))
diffs=$(echo $(git diff origin/master -U0 --ignore-space-change "${MAPFILE[$i]}"))
if [[ "$diffs" == *"version:"* ]];
then
echo "all good - the version was updated"