Move release message creation before build task

This commit is contained in:
DarkFighterLuke
2024-05-07 22:56:52 +02:00
parent 9b0c4b5d34
commit aab2de6189
+7 -7
View File
@@ -34,13 +34,6 @@ jobs:
TAG=${{ github.event.release.tag_name }}
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
- name: Build Jellyfin Plugin
uses: oddstr13/jellyfin-plugin-repository-manager@843260fcdfda7cba229c5abd77bdd9c6fc4e850b # v1.1.0
id: jprm
with:
dotnet-target: net6.0
version: ${VERSION}
- name: Generate release message
run: |
# Read the YAML file and extract the value of the 'changelog' field
@@ -54,6 +47,13 @@ jobs:
fi
echo "RELEASE_MESSAGE=$(echo Changelog:; echo $changelog)" >> GITHUB_ENV
- name: Build Jellyfin Plugin
uses: oddstr13/jellyfin-plugin-repository-manager@843260fcdfda7cba229c5abd77bdd9c6fc4e850b # v1.1.0
id: jprm
with:
dotnet-target: net6.0
version: ${VERSION}
- name: Upload Release
uses: svenstaro/upload-release-action@v2
id: upload