Publish a signed Android APK with GitHub releases
Build the ARM64 app on version tags alongside the desktop builds. Stamp the APK with the tag version and the Release workflow run number so that updates advance and reruns keep the same code. Sign with the repository's persistent PKCS12 key in a separate step. Only the verified APK goes into the run artifact and the release. Require it for both creation and reruns. Use the same NDK for Cargo and Gradle's native strip step. Check the actual APK's package, version, release mode, ARM64 library, alignment and signature. Keep local debug version defaults. Document the two signing secrets, key backup and the effect of switching from the debug build on a mesh identity. On macOS, built the debug and release APKs, signed the release with a throwaway key, and verified its certificate. Checked rejection of missing credentials, a wrong password, an unsigned APK, a debug APK, incorrect versions and an unstripped native library. Exercised the release-create and rerun paths with a local gh stand-in, including a missing artifact. Actionlint, ShellCheck, cargo fmt, locked all-target workspace Clippy with warnings denied, and workspace tests passed (547 passed, 2 ignored). No live release or signing credentials were created in GitHub.
This commit is contained in:
1 parent
ef67e1c0ae
commit
429fa36e3e
5 files changed
+139
-7
No files matched your search
@@ -64,6 +64,7 @@ Grab a build from the [latest release](https://github.com/house-of-vanity/tsunag
|
||||
| Platform | How |
|
||||
| --------------------- | -------------------------------------------------------------------------------- |
|
||||
| **Windows** | Run `tsunagi-setup-<version>-x86_64.exe`. Installs the service, the tray and `tsng`. |
|
||||
| **Android** | Open `tsunagi-android-<version>-arm64-v8a.apk` on an ARM64 phone running Android 8 or later. |
|
||||
| **macOS** | `brew tap house-of-vanity/tap && brew install --cask tsunagi-gui`<br>CLI only: `brew install tsunagi` |
|
||||
| **Debian / Ubuntu** | `sudo apt install ./tsunagi-gui_<version>_amd64.deb` (`tsunagi_…` for no tray) |
|
||||
| **Arch** | `sudo pacman -U tsunagi-gui-<version>-1-x86_64.pkg.tar.zst` |
|
||||
|
||||
Reference in new issue
Block a user