update auto_release workflow

This commit is contained in:
Gerrit Gogel 2023-08-26 12:49:45 +02:00
parent d50e19db40
commit 3ca55f4b4d

View file

@ -87,7 +87,7 @@ jobs:
done
MESSAGES="Seafile version: $SEAFILE_VERSION"$'\n'"Image build version: $NEXT_BUILD"$'\n'"Changelog:"$'\n'"$MESSAGES"
echo "::set-output name=formatted_messages::$MESSAGES"
echo "::set-output name=formatted_messages::${MESSAGES//$'\n'/'%0A'}"
- name: Create Release
if: env.FOLDER_CHANGED != '' && env.SEAFILE_VERSION != ''
@ -99,5 +99,4 @@ jobs:
release_name: ${{ env.FOLDER_CHANGED }}-${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }}
body: ${{ steps.get_messages.outputs.formatted_messages }}
draft: false
prerelease: false
prerelease: false