Create release changelog file

This commit is contained in:
DarkFighterLuke
2024-05-09 10:06:49 +02:00
parent 00047b6753
commit 6803016a17
+6 -2
View File
@@ -44,7 +44,11 @@ jobs:
else else
changelog="*$changelog" changelog="*$changelog"
fi fi
echo "RELEASE_MESSAGE=$(printf \"Changelog:\n$changelog\")" >> $GITHUB_ENV
# Create release-changelog.md
echo "Changelog:" > release-changelog.md
echo "$changelog" | sed 's/^/* /' >> release-changelog.md
- name: Build Jellyfin Plugin - name: Build Jellyfin Plugin
uses: oddstr13/jellyfin-plugin-repository-manager@843260fcdfda7cba229c5abd77bdd9c6fc4e850b # v1.1.0 uses: oddstr13/jellyfin-plugin-repository-manager@843260fcdfda7cba229c5abd77bdd9c6fc4e850b # v1.1.0
@@ -59,7 +63,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
artifacts: ${{ steps.jprm.outputs.artifact }} artifacts: ${{ steps.jprm.outputs.artifact }}
makeLatest: latest makeLatest: latest
body: ${{ env.RELEASE_MESSAGE }} bodyFile: release-changelog.md
tag: ${{ steps.newtag.outputs.tag }} tag: ${{ steps.newtag.outputs.tag }}
allowUpdates: true allowUpdates: true