fix(ci): join latest tag when its release lacks the APK
All checks were successful
ci / test (pull_request) Successful in 2m45s

Core owns tag creation. If vN exists and the release is missing the
Android APK, attach there instead of minting N+1. Never delete tags.
Path filter is sources/Gradle only — README edits do not publish.
This commit is contained in:
Sirius DevOps 2026-09-12 01:37:40 -04:00
commit 1e6a4c12b2
No known key found for this signature in database
2 changed files with 43 additions and 33 deletions

View file

@ -125,7 +125,8 @@ deobfuscation, not before.
The job image is `node:20-bullseye` (EOL) — **do not apt-get there**. The
toolchain runs in a sibling `debian:bookworm` container
(stdin-tar + `docker cp`, same pattern as the Rust CI job).
Any push to `main` that touches `android/**` (or the local build script / this
Any push to `main` that touches Android **sources or build config**
(`android/app/**`, `android/sdk/**`, Gradle files — not `android/README.md`)
workflow) builds `onionwire-<version>-android-arm64-v8a.apk` and
`onionwire-sdk-<version>.aar`, verifies them, and attaches them to the Forgejo
release for that tag. Version is the latest `v*.*.*` tag plus patch, or