fix(ci): strip pre-release suffixes from version in manifest.json
Build and Release Plugin / release (push) Successful in 37s

This commit is contained in:
2026-09-17 18:23:27 +02:00
parent 25c7a56901
commit d018a8e5ac
+3 -2
View File
@@ -84,6 +84,7 @@ jobs:
VERSION="${{ github.ref_name }}"
VERSION="${VERSION#v}"
CLEAN_VERSION="${VERSION%%-*}"
cat > manifest.json <<EOF
[
@@ -97,7 +98,7 @@ jobs:
"imageUrl": "",
"versions": [
{
"version": "$VERSION",
"version": "$CLEAN_VERSION",
"changelog": "Automated Release ${{ github.ref_name }} (Jellyfin 12.0)",
"targetAbi": "12.0.0.0",
"sourceUrl": "https://gitea.labus.uk/karol/blackBarRemover",
@@ -106,7 +107,7 @@ jobs:
"repositoryUrl": "https://gitea.labus.uk/karol/blackBarRemover/releases/download/${{ github.ref_name }}/BlackBarRemover_${{ github.ref_name }}_jf12.0.zip"
},
{
"version": "$VERSION",
"version": "$CLEAN_VERSION",
"changelog": "Automated Release ${{ github.ref_name }} (Jellyfin 10.11)",
"targetAbi": "10.11.0.0",
"sourceUrl": "https://gitea.labus.uk/karol/blackBarRemover",