Recently Written · git

subrep-android

Subrep on Android: live captions of the sound of the phone, made on the phone by Whisper, shared by link.

git clone https://github.com/equwal/subrep-android

Log | Files | Refs


commit 84d70bc7d7daf297edc62ab7f62372e75fb8cbd9
equwal <truex@equwal.com>
2026-09-21 23:11:47 -0700

Fix the release signing: the key alias was read from the config itself

 app/build.gradle.kts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 002ca9a..00f450b 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -5,7 +5,8 @@ plugins {
 // Release signing comes from the environment, so the key never lives in the repository.
 val keystorePath = providers.environmentVariable("SUBREP_KEYSTORE_FILE").orNull
 val keystorePassword = providers.environmentVariable("SUBREP_KEYSTORE_PASSWORD").orNull
-val keyAlias = providers.environmentVariable("SUBREP_KEY_ALIAS").orNull ?: "subrep"
+// Not named keyAlias: inside signingConfigs, that name is the property of the config itself.
+val signingAlias = providers.environmentVariable("SUBREP_KEY_ALIAS").orNull ?: "subrep"
 val signingReady = !keystorePath.isNullOrBlank() && !keystorePassword.isNullOrBlank() &&
     file(keystorePath).isFile
 
@@ -40,7 +41,7 @@ android {
             create("release") {
                 storeFile = file(keystorePath!!)
                 storePassword = keystorePassword
-                this.keyAlias = keyAlias
+                keyAlias = signingAlias
                 keyPassword = keystorePassword
             }
         }