Skip to content

Release: Android TV, Apple TV and LG webOS in one release - #48

Merged
professorDeveloper merged 2 commits into
masterfrom
release-all-tv
Nov 14, 2026
Merged

professorDeveloper merged 2 commits into
masterfrom
release-all-tv

Conversation

@professorDeveloper

@professorDeveloper professorDeveloper commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

One run of Actions → Release → Telegram now ships all three TV apps under one version.

What a run does

  • Android TV: unchanged. Signed APK, certificate and version checks, CDN, updater.
  • Apple TV (new job, macos-26): xcodegen plus an unsigned xcodebuild archive for generic/platform=tvOS. The job checks the version in the IPA's Info.plist and packs sozo-tv-<v>-appletv.ipa. There is no Apple distribution certificate in this repo (no apple-tv environment), so people sideload the IPA with Sideloadly or Xcode, which signs it with their own Apple ID.
  • LG webOS (new job): npm test and npm run package, then sozo-tv-<v>-webos.ipk.
  • Version: one version for all three. stamp_version.py writes it into app/build.gradle.kts, apple-tv/project.yml (build number = versionCode), webos/appinfo.json and webos/js/app.js. All of these files go into the bump commit.
  • GitHub Release: one release with all files and one SHA256SUMS. The page has a row and install steps for each TV.
  • Telegram: the banner (eyebrow SMART TV, chips Android TV · Apple TV · LG webOS) and caption, followed by the APK, IPA and IPK, each with its own install note.
  • If a build fails: nothing is published. Telegram gets a failure notice that names the failed platform.
  • Switching platforms off: the new apple_tv and webos inputs (both default on) turn a platform off for a run.

Backend: the manifest still lists only the APK. The backend has no Apple TV or webOS download rows, and would file anything listed there under Android TV.

Removed: webos-release.yml, folded into this workflow. tvos-release.yml stays for TestFlight once the apple-tv secrets exist.

Tested locally

  • Unsigned tvOS archive with Xcode 27.2: arm64, 1.2 MB IPA, Info.plist 1.0.4 (4).
  • npm run package gives com.soplay.sozo.webos_1.0.4_all.ipk.
  • release_page_test.py: 7 tests pass.
  • actionlint is clean apart from the existing Uzbek-apostrophe SC1112 warnings.
  • The Telegram step ran against a local mock server, in both the success case and the "a TV build failed" case.

Copy to the Sozo-app organization (second commit)

One run of Release → Telegram now builds the signed Android TV APK, an
unsigned Apple TV IPA (macOS runner, for sideloading) and the webOS IPK,
stamps one version into all three, and attaches them to one GitHub Release
with one banner, page and Telegram post. Apple TV and webOS can be switched
off per run. webos-release.yml is folded into it; tvos-release.yml stays for
TestFlight once the apple-tv environment has secrets.
mirror-release.yml copies the tag (made through the API at the same commit),
title, notes and files of a published release to the organization's copy.
It runs on Publish, by hand, and from release.yml when that publishes itself.
@professorDeveloper
professorDeveloper merged commit 315184f into master Nov 14, 2026
4 checks passed
@professorDeveloper
professorDeveloper deleted the release-all-tv branch November 14, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant