Compare commits

...
2 Commits
Author SHA1 Message Date
nikrozmanandClaude Opus 5.5 8f9916e035 Release workflow: use .zip release download URLs (Jellyfin rejects /attachments/ URLs)
CI / build (push) Successful in 17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 00:33:18 +01:00
Gitea Actions 0a7aaebfff Release 1.0.2.0 [skip ci] 2026-10-29 23:31:10 +00:00
2 changed files with 9 additions and 5 deletions

No files matched your search

+5 -1
View File
@@ -54,7 +54,11 @@ jobs:
--arg abi "$TARGET_ABI" --arg md5 "$(cat md5.txt)" \ --arg abi "$TARGET_ABI" --arg md5 "$(cat md5.txt)" \
'{tag_name: $tag, name: $name, body: ($notes + "\n\n---\nJellyfin targetAbi `" + $abi + "` · MD5 `" + $md5 + "`")}') '{tag_name: $tag, name: $name, body: ($notes + "\n\n---\nJellyfin targetAbi `" + $abi + "` · MD5 `" + $md5 + "`")}')
ID=$(curl -fsS -X POST -H "Authorization: token $TOKEN" -H "Content-Type: application/json" -d "$BODY" "$API/releases" | jq -r .id) ID=$(curl -fsS -X POST -H "Authorization: token $TOKEN" -H "Content-Type: application/json" -d "$BODY" "$API/releases" | jq -r .id)
URL=$(curl -fsS -X POST -H "Authorization: token $TOKEN" -F "attachment=@$ZIP" "$API/releases/$ID/assets?name=$ZIP" | jq -r .browser_download_url) curl -fsS -X POST -H "Authorization: token $TOKEN" -F "attachment=@$ZIP" "$API/releases/$ID/assets?name=$ZIP" >/dev/null
# Jellyfin only installs from URLs ending in .zip, so use the release download path
# (the API's browser_download_url is /attachments/<uuid>).
URL="${{ gitea.server_url }}/${{ gitea.repository }}/releases/download/${{ gitea.ref_name }}/$ZIP"
curl -fsSI "$URL" >/dev/null
echo "release $ID asset $URL" echo "release $ID asset $URL"
echo "$URL" > asset_url.txt echo "$URL" > asset_url.txt
+4 -4
View File
@@ -9,11 +9,11 @@
"versions": [ "versions": [
{ {
"version": "1.0.2.0", "version": "1.0.2.0",
"changelog": "Builds from NuGet (no Jellyfin.Api dependency); first public release. Same behaviour as 1.0.1.0.", "changelog": "First public release.\n\n- Sleep-timer button next to the volume control in Jellyfin Web: end of this episode/movie (default) or 15/30/45/60/90 minutes.\n- Stops the next autoplayed episode when the timed one ends.\n- Calls a Home Assistant webhook (\"stopped\" / \"started\") so HA can turn the lights off after a cooldown.\n- Builds from the Jellyfin.Controller 12.2.0 NuGet package; licensed GPL-3.0-or-later.",
"targetAbi": "12.2.0.0", "targetAbi": "12.2.0.0",
"sourceUrl": "https://git.piskot.si/nikrozman/jellyfin-lights-out-ha/raw/branch/master/dist/lightsofftimer_1.0.2.0.zip", "sourceUrl": "https://git.piskot.si/nikrozman/jellyfin-lights-out-ha/releases/download/v1.0.2.0/lightsofftimer_1.0.2.0.zip",
"checksum": "3f3a7126ade005402fa0535e6a237152", "checksum": "baf4d3b0c76cb5b4b115637e124bc1b6",
"timestamp": "2026-10-29T23:22:29Z" "timestamp": "2026-10-29T23:31:10Z"
} }
] ]
} }