Repository navigation
build(android): sign debug builds with the release key when one is configured - #564
Conversation
…nfigured The key now also comes from ketch.signing.* in the untracked local.properties, beside the ANDROID_KEYSTORE_* variables CI uses. Debug builds use it too, so they install over a release build; without it they keep Android's debug key, so a fresh clone builds as before.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 80b013faba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Releases take the workflow's run number as their version code, so a debug build at version code 1 could not replace a release install even with the same key. Without -PversionCode, debug builds now take 2,000,000,000.
ketch.signing.storeFile,storePassword,keyAliasandkeyPasswordfrom the untrackedlocal.properties; theANDROID_KEYSTORE_*variables CI passes still win.local.propertiesis read withproviders.fileContents, so editing it invalidates the configuration cache.docs/updates.mddocuments the properties.Testing
assembleDirectDebugis signedC=US, O=Android, CN=Android Debug.local.properties:assembleDirectDebugis signed with it (CN=Ketch signing test).