Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.
Sign releases with one password secret
jesse-agent-362789297cb497d
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 84a6a80..3d7c343 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -46,7 +46,6 @@ jobs:- name: Buildenv:RELEASE_KEYSTORE: ${{ runner.temp }}/release.jks- RELEASE_STORE_PASSWORD: ${{ secrets.RELEASE_STORE_PASSWORD }}RELEASE_KEY_ALIAS: ${{ secrets.RELEASE_KEY_ALIAS }}RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }}run: ./gradlew :app:assembleRelease -Ptellyscope.alpha=${{ github.run_number }} --console=plain@@ -120,7 +119,6 @@ jobs:if: steps.version.outputs.new == 'true'env:RELEASE_KEYSTORE: ${{ runner.temp }}/release.jks- RELEASE_STORE_PASSWORD: ${{ secrets.RELEASE_STORE_PASSWORD }}RELEASE_KEY_ALIAS: ${{ secrets.RELEASE_KEY_ALIAS }}RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }}run: ./gradlew :app:assembleRelease --console=plaindiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 0bb238e..ff8c873 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -15,7 +15,7 @@ Thanks for helping! Tellyscope is pre-alpha, so the code and its structure are s- **Alpha:** every push to `dev` builds `app.tellyscope.alpha`, which installs next to the release, and replaces the `alpha` pre-release on GitHub with it.- **Shipping:** a release is a pull request from `dev` into `main`, merged with a merge commit. It must raise `versionName` and `versionCode` in `app/build.gradle.kts` past the latest `v*` tag and add that version's section to [CHANGELOG.md](CHANGELOG.md); CI refuses anything else. Merging it tags `vX.Y.Z` and publishes a GitHub release with the signed APK, notes from the changelog section and the commits since the previous tag.-- **Signing:** CI signs both builds from four repository secrets: `RELEASE_KEYSTORE_BASE64` (the keystore, base64-encoded), `RELEASE_STORE_PASSWORD`, `RELEASE_KEY_ALIAS` and `RELEASE_KEY_PASSWORD`. Only the maintainer holds the key; never commit a keystore. Local release builds are unsigned.+- **Signing:** CI signs both builds from three repository secrets: `RELEASE_KEYSTORE_BASE64` (the keystore, base64-encoded), `RELEASE_KEY_ALIAS` and `RELEASE_KEY_PASSWORD`, which is both the store and the key password (keytool's PKCS12 default uses one for both). Only the maintainer holds the key; never commit a keystore. Local release builds are unsigned.## Debloat listsdiff --git a/app/build.gradle.kts b/app/build.gradle.ktsindex 55eacd9..5861755 100644--- a/app/build.gradle.kts+++ b/app/build.gradle.kts@@ -34,9 +34,11 @@ android {if (keystore != null) {create("release") {storeFile = file(keystore)- storePassword = providers.environmentVariable("RELEASE_STORE_PASSWORD").get()+ // keytool's PKCS12 default has one password for the store and the key.+ val password = providers.environmentVariable("RELEASE_KEY_PASSWORD").get()+ storePassword = passwordkeyAlias = providers.environmentVariable("RELEASE_KEY_ALIAS").get()- keyPassword = providers.environmentVariable("RELEASE_KEY_PASSWORD").get()+ keyPassword = password}}}