Skip to content

Release Mobile: build APK on-runner with Gradle (drop EAS) - #32

Merged
srjn45 merged 1 commit into
mainfrom
ci-local-release
Jul 23, 2026
Merged

Release Mobile: build APK on-runner with Gradle (drop EAS)#32
srjn45 merged 1 commit into
mainfrom
ci-local-release

Conversation

@srjn45

@srjn45 srjn45 commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Replaces the EAS build step in the release workflow with a signed Gradle build on the GitHub runner, removing the dependency on EAS Build and its monthly free-tier quota — the same quota that blocked the v1.1.5 release (tagged, never published).

What changes

  • setup-java (17) + setup-android + explicit NDK 27.1.12297006 install (Expo SDK 57 toolchain).
  • expo prebuild./gradlew :app:assembleRelease.
  • Signing from repo secrets (ANDROID_KEYSTORE_BASE64, ANDROID_KEYSTORE_PASSWORD, ANDROID_KEY_ALIAS, ANDROID_KEY_PASSWORD), fed into the release signingConfig by apps/mobile/plugins/withReleaseSigning.js (added in Add local (EAS-free) signed Android build path #30).
  • Tag push (v*.*.*) → publishes "Kept vX" with kept.apk, matching the promo site's releases/latest/download/kept.apk URL.
  • New workflow_dispatch: builds + uploads the APK as a run artifact without publishing — for smoke-testing the build itself.

Verification plan

Dry-run via workflow_dispatch on this branch (builds + signs, no release) before merging. Then a v1.1.6 tag cuts the first Kept-branded release.

🤖 Generated with Claude Code

Replace the EAS build step in the release workflow with a signed Gradle
build on the GitHub runner, removing the dependency on EAS Build and its
monthly free-tier quota (which had blocked the v1.1.5 release).

- setup-java (17) + setup-android + explicit NDK 27.1 install (Expo SDK 57).
- expo prebuild → gradlew :app:assembleRelease.
- Signing from repo secrets (ANDROID_KEYSTORE_BASE64 / *_PASSWORD /
  ANDROID_KEY_ALIAS), fed to the release signingConfig via the
  withReleaseSigning config plugin.
- Tag push (v*.*.*) → publish "Kept vX" release with kept.apk, matching the
  promo site's releases/latest/download/kept.apk URL.
- Added workflow_dispatch: builds + uploads the APK as a run artifact
  without publishing, for smoke-testing the build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@srjn45
srjn45 merged commit b56b1e5 into main Jul 23, 2026
1 of 2 checks passed
srjn45 added a commit that referenced this pull request Jul 23, 2026
Extends the on-runner release workflow (#32) to cut both artifacts on every
tag: kept.apk for direct install/testing and kept.aab for Play Console
upload. Hardens the signature check from "some cert exists" to an exact
SHA-256 match against the Kept upload key, so a misconfigured keystore
secret fails the build instead of shipping a wrongly-signed artifact, and
scrubs the keystore + credentials from the runner after the build.

Also bump android.versionCode to 7 for the 1.1.6 Play release and switch
the android/ios npm scripts to expo run:* (native builds, not just the dev
server).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
srjn45 added a commit that referenced this pull request Jul 23, 2026
…ses (#33)

Extends the on-runner release workflow (#32) to cut both artifacts on every
tag: kept.apk for direct install/testing and kept.aab for Play Console
upload. Hardens the signature check from "some cert exists" to an exact
SHA-256 match against the Kept upload key, so a misconfigured keystore
secret fails the build instead of shipping a wrongly-signed artifact, and
scrubs the keystore + credentials from the runner after the build.

Also bump android.versionCode to 7 for the 1.1.6 Play release and switch
the android/ios npm scripts to expo run:* (native builds, not just the dev
server).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant