fix(ci): strip pre-release suffixes from version in manifest.json
Build and Release Plugin / release (push) Successful in 37s
Build and Release Plugin / release (push) Successful in 37s
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user