update auto_release workflow

This commit is contained in:
Gerrit Gogel 2023-08-26 13:16:14 +02:00
parent 2fb4176d9c
commit 2e78440290

View file

@ -33,7 +33,7 @@ jobs:
fi
if [[ -f "$FOLDER_CHANGED/Dockerfile" ]]; then
SEAFILE_VERSION=$(grep 'SEAFILE_VERSION' $FOLDER_CHANGED/Dockerfile | awk -F'SEAFILE_VERSION=' '{print $2}' | awk '{print $1}')
SEAFILE_VERSION=$(echo "$SEAFILE_VERSION" | tr -d '\n')
SEAFILE_VERSION=$(echo "$SEAFILE_VERSION" | tr -d '\n\r')
echo "SEAFILE_VERSION=$SEAFILE_VERSION" >> $GITHUB_ENV
fi
echo "FOLDER_CHANGED=$FOLDER_CHANGED" >> $GITHUB_ENV