mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Update auto_release.yml
This commit is contained in:
parent
f7fdf1a0eb
commit
0b35713cac
2
.github/workflows/auto_release.yml
vendored
2
.github/workflows/auto_release.yml
vendored
|
@ -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=""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue