Update auto_release.yml

This commit is contained in:
Gerrit Gogel 2023-09-09 13:56:17 +02:00
parent f7fdf1a0eb
commit 0b35713cac

View file

@ -43,6 +43,8 @@ jobs:
else else
COMMIT_RANGE="${LATEST_TAG}..HEAD" COMMIT_RANGE="${LATEST_TAG}..HEAD"
fi fi
echo "COMMIT_RANGE=${LATEST_TAG}..HEAD" >> $GITHUB_ENV
CHANGED_FOLDERS=$(git diff --name-only $COMMIT_RANGE | cut -d '/' -f1 | uniq) CHANGED_FOLDERS=$(git diff --name-only $COMMIT_RANGE | cut -d '/' -f1 | uniq)
[[ "$CHANGED_FOLDERS" =~ "${{ matrix.folder }}" ]] && FOLDER_CHANGED="${{ matrix.folder }}" || FOLDER_CHANGED="" [[ "$CHANGED_FOLDERS" =~ "${{ matrix.folder }}" ]] && FOLDER_CHANGED="${{ matrix.folder }}" || FOLDER_CHANGED=""