Two things a self-updating app cannot get wrong: the APK must be signed by the key the TV will accept forever, and the thing published must be the thing that was built. The release build now reads keystore.properties (gitignored) and signs with jtube-release.jks — RSA 4096, SHA384, alias jtube, valid to 2054 — falling back to the debug key only when that file is absent, so a fresh clone still builds. The key itself never enters git; it lives in the encrypted agent secret store (passwords + an encrypted copy of the keystore, verified byte-identical on decrypt) and belongs in KeePassXC as a file attachment (docs/releases.md §4). scripts/release.sh publishes: it refuses an untagged HEAD, a missing keystore, an APK whose own versionCode/versionName disagree with version.properties (stale build), a versionCode not greater than the newest published release, and then writes the description with the "versionCode: N" line the update check reads, plus a changelog from the commits since the previous tag (or --notes FILE), and uploads the APK as the release's asset. --dry-run prints the description without publishing. Refs #49
16 lines
241 B
Text
16 lines
241 B
Text
*.iml
|
|
.gradle
|
|
/local.properties
|
|
/.idea
|
|
.DS_Store
|
|
/build
|
|
/app/build
|
|
/captures
|
|
.externalNativeBuild
|
|
.cxx
|
|
reports/*-shots/
|
|
reports/*.md
|
|
|
|
# Release signing material — never in git (see docs/releases.md)
|
|
/keystore.properties
|
|
/jtube-release.jks
|