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