Closes#121. Closes#58 (separate Deploy Android button is superseded).
Deploy Prod now builds a signed ai.hesychia.chat AAB after the prod web deploy and attaches hesychia-<versionName>-<versionCode>.aab to a Gitea release tagged android-v<versionName>-<versionCode>.
Version reuses the release for the same SHA, otherwise bumps patch and versionCode from the gradle floor plus existing android-v* tags. Keystore stays on the runner at ~/.android/hesychia-keystore.properties (not RealPath's keystore.properties).
Confirm runner has /home/westfarn/.android/hesychia-upload.jks, hesychia-keystore.properties (mode 600), Android SDK at /home/westfarn/Android/Sdk, and Actions secret GITHUB_TOKEN
Run Deploy Prod and confirm the Gitea release asset plus jarsigner -verify
Download the AAB and upload it to the Play internal track
## Summary
- Closes #121. Closes #58 (separate Deploy Android button is superseded).
- Deploy Prod now builds a signed `ai.hesychia.chat` AAB after the prod web deploy and attaches `hesychia-<versionName>-<versionCode>.aab` to a Gitea release tagged `android-v<versionName>-<versionCode>`.
- Version reuses the release for the same SHA, otherwise bumps patch and `versionCode` from the gradle floor plus existing `android-v*` tags. Keystore stays on the runner at `~/.android/hesychia-keystore.properties` (not RealPath's `keystore.properties`).
## Test plan
- [x] `node --test scripts/android-version.test.mjs` (9 passed)
- [ ] Confirm runner has `/home/westfarn/.android/hesychia-upload.jks`, `hesychia-keystore.properties` (mode 600), Android SDK at `/home/westfarn/Android/Sdk`, and Actions secret `GITHUB_TOKEN`
- [ ] Run Deploy Prod and confirm the Gitea release asset plus `jarsigner -verify`
- [ ] Download the AAB and upload it to the Play internal track
Closes#121. Supersedes the separate Deploy Android workflow in #58 by attaching hesychia-<version>-<code>.aab to an android-v* Gitea release after the prod web deploy.
All checks were successful
Unit Tests / test (pull_request) Successful in 14s
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
ai.hesychia.chatAAB after the prod web deploy and attacheshesychia-<versionName>-<versionCode>.aabto a Gitea release taggedandroid-v<versionName>-<versionCode>.versionCodefrom the gradle floor plus existingandroid-v*tags. Keystore stays on the runner at~/.android/hesychia-keystore.properties(not RealPath'skeystore.properties).Test plan
node --test scripts/android-version.test.mjs(9 passed)/home/westfarn/.android/hesychia-upload.jks,hesychia-keystore.properties(mode 600), Android SDK at/home/westfarn/Android/Sdk, and Actions secretGITHUB_TOKENjarsigner -verifyView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.