Fix plugin version in workflow

This commit is contained in:
DarkFighterLuke
2024-05-07 00:14:09 +02:00
parent 83b92f5dfe
commit 06efee0051
+7 -1
View File
@@ -27,12 +27,18 @@ jobs:
with: with:
dotnet-version: 6.0.x dotnet-version: 6.0.x
- name: Get version number only
run: |
TAG=${{ github.event.release.tag_name }}
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
- 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
id: jprm id: jprm
with: with:
dotnet-target: net6.0 dotnet-target: net6.0
version: ${{ steps.newtag.outputs.tag }} version: ${VERSION}
- name: Upload Release - name: Upload Release