The Android workflow generated a new throwaway keystore on every run, so every APK had a different signature and Android refused to install it over the previous build. Load the release keystore from ANDROID_KEYSTORE_BASE64, validate it with keytool, and sign assembleRelease with the PKCS12 store type plus ANDROID_KEYSTORE_PASSWORD, ANDROID_KEY_ALIAS and ANDROID_KEY_PASSWORD. Fail the build when any secret is missing instead of falling back to a random key, and remove the temporary keystore afterwards. Document the one-time keystore and secret setup, and ignore *.jks and *.keystore so private keys cannot be committed. The first fixed-signature APK needs one uninstall because the installed APK was signed by the old throwaway key; later builds install as updates.
20 lines
165 B
Plaintext
20 lines
165 B
Plaintext
build/
|
|
out/
|
|
dist/
|
|
*.log
|
|
*.log.1
|
|
*.zip
|
|
*.jks
|
|
*.keystore
|
|
*.wav
|
|
HRTF/
|
|
*.sofa
|
|
*.jochrtf
|
|
*.personalized_headphone
|
|
joc-hrtf-cache/
|
|
.vs/
|
|
*.user
|
|
__pycache__/
|
|
*.pyc
|
|
_parity/
|