update auto_release workflow

This commit is contained in:
Gerrit Gogel 2023-08-27 11:29:20 +02:00
parent c9ddb3f929
commit f1e1e36ca7

View file

@ -102,7 +102,7 @@ jobs:
MESSAGES="Seafile version: $SEAFILE_VERSION"$'\n'"Image build version: $NEXT_BUILD"$'\n'"Changelog:"$'\n'"$MESSAGES" MESSAGES="Seafile version: $SEAFILE_VERSION"$'\n'"Image build version: $NEXT_BUILD"$'\n'"Changelog:"$'\n'"$MESSAGES"
fi fi
MESSAGES="${MESSAGES//$'\n'/'%0A'}" MESSAGES="${MESSAGES//$'\n'/%0A}"
echo "MESSAGES=$MESSAGES" >> $GITHUB_ENV echo "MESSAGES=$MESSAGES" >> $GITHUB_ENV
@ -114,6 +114,7 @@ jobs:
with: with:
tag_name: ${{ env.FOLDER_CHANGED }}-${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }} tag_name: ${{ env.FOLDER_CHANGED }}-${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }}
release_name: ${{ env.FOLDER_CHANGED }}-${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }} release_name: ${{ env.FOLDER_CHANGED }}-${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }}
body: ${{ env.MESSAGES }} body: |
${{ env.MESSAGES }}
draft: false draft: false
prerelease: false prerelease: false