From 3c185c43f46459210150343db7781da454b2827d Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Sat, 26 Aug 2023 17:26:38 +0200 Subject: [PATCH] update auto_release workflow --- .github/workflows/auto_release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml index 90ff1f0..53b21c6 100644 --- a/.github/workflows/auto_release.yml +++ b/.github/workflows/auto_release.yml @@ -36,12 +36,14 @@ jobs: CHANGED_FOLDERS=$(git diff --name-only HEAD^ HEAD | cut -d '/' -f1 | uniq) [[ "$CHANGED_FOLDERS" =~ "${{ matrix.folder }}" ]] && FOLDER_CHANGED="${{ matrix.folder }}" || FOLDER_CHANGED="" fi - echo "FOLDER_CHANGED=$FOLDER_CHANGED" if [ -z "$FOLDER_CHANGED" ]; then echo "Skipping as ${{ matrix.folder }} didn't change." exit 0 fi + + echo "FOLDER_CHANGED=$FOLDER_CHANGED" + echo "FOLDER_CHANGED=$FOLDER_CHANGED" >> $GITHUB_ENV if [[ -f "$FOLDER_CHANGED/Dockerfile" ]]; then SEAFILE_VERSION=$(grep -m 1 'SEAFILE_VERSION' $FOLDER_CHANGED/Dockerfile | awk -F'SEAFILE_VERSION=' '{print $2}' | awk '{print $1}' | tr -d '\n')