Skip to content

feat: Google Play Store deploy workflow#53

Merged
rprabhat merged 2 commits into
mainfrom
feat/play-store-deploy
Jun 21, 2026
Merged

feat: Google Play Store deploy workflow#53
rprabhat merged 2 commits into
mainfrom
feat/play-store-deploy

Conversation

@rprabhat

Copy link
Copy Markdown
Collaborator

Summary

Google Play Store deployment workflow added.

Changes:

  • New workflow: .github/workflows/play-store-deploy.yml

    • Manual trigger with track selection (internal/alpha/beta/production)
    • Version name/code inputs
    • Builds signed AAB with release keystore
    • Uploads via r0adkll/upload-google-play action
  • build.gradle.kts: Added release signingConfig using env vars

Required GitHub Secrets (configure in repo settings):

Secret Description
PLAY_STORE_KEYSTORE_BASE64 Base64 encoded release keystore (base64 -w0 release.keystore)
PLAY_STORE_KEYSTORE_PASSWORD Keystore password
PLAY_STORE_KEY_ALIAS Key alias in keystore
PLAY_STORE_KEY_PASSWORD Key password
PLAY_STORE_SERVICE_ACCOUNT_JSON Service account JSON from Play Console with release permission

Usage:

  1. Configure all 5 secrets in GitHub repo Settings → Secrets → Actions
  2. Go to Actions → "Deploy to Google Play Store" → Run workflow
  3. Select track (internal/alpha/beta/production)
  4. Enter versionName (e.g., "1.0.1") and versionCode (increment integer)
  5. Run workflow

Prerequisites:

  • Google Play Console account
  • App created in Play Console with package name com.cardsnap
  • Service account with Release Manager role
  • Release keystore generated (keytool -genkey -v -keystore release.keystore -alias cardsnap -keyalg RSA -keysize 2048 -validity 10000)

Verification:

  • Android CI workflow unchanged (continues on push/PR)
  • This workflow only runs on manual dispatch

- D5: VCard import (VCardParser, ContactsViewModel.importVCard, ContactsScreen import button)
- E2/E3: Contact dedup (ContactDeduplicator exact + fuzzy) and merge UI (ViewModel merge/dismiss, Screen banner + dialog)
- D1/D3: Confidence badge + error classification (ScanScreen, ScanViewModel)
- Stream G tests: VCardParserTest (11), ContactDeduplicatorTest (15), ContactsViewModelTest (6), ContactsTest (+3 instrumented)
- Build fix: Java 17, Ezvcard.parse().all(), MaterialTheme.colorScheme.error
- Added kotlinx-coroutines-test + core-testing deps
- New workflow: play-store-deploy.yml with manual dispatch
- Supports internal/alpha/beta/production tracks
- Builds signed AAB with release keystore
- Uploads via r0adkll/upload-google-play action
- Added release signingConfig to build.gradle.kts

Required GitHub Secrets:
- PLAY_STORE_KEYSTORE_BASE64 (base64 encoded .keystore)
- PLAY_STORE_KEYSTORE_PASSWORD
- PLAY_STORE_KEY_ALIAS
- PLAY_STORE_KEY_PASSWORD
- PLAY_STORE_SERVICE_ACCOUNT_JSON (Play Console service account with release permission)
val edges = (0 until 4).map { i ->
val (x1, y1) = corners[i]
val (x2, y2) = corners[(i + 1) % 4]
sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1))
val p2x = srcPoints[4]; val p2y = srcPoints[5]
val p3x = srcPoints[6]; val p3y = srcPoints[7]

val topW = sqrt((p1x - p0x) * (p1x - p0x) + (p1y - p0y) * (p1y - p0y))
val p3x = srcPoints[6]; val p3y = srcPoints[7]

val topW = sqrt((p1x - p0x) * (p1x - p0x) + (p1y - p0y) * (p1y - p0y))
val bottomW = sqrt((p2x - p3x) * (p2x - p3x) + (p2y - p3y) * (p2y - p3y))

val topW = sqrt((p1x - p0x) * (p1x - p0x) + (p1y - p0y) * (p1y - p0y))
val bottomW = sqrt((p2x - p3x) * (p2x - p3x) + (p2y - p3y) * (p2y - p3y))
val leftH = sqrt((p3x - p0x) * (p3x - p0x) + (p3y - p0y) * (p3y - p0y))
val topW = sqrt((p1x - p0x) * (p1x - p0x) + (p1y - p0y) * (p1y - p0y))
val bottomW = sqrt((p2x - p3x) * (p2x - p3x) + (p2y - p3y) * (p2y - p3y))
val leftH = sqrt((p3x - p0x) * (p3x - p0x) + (p3y - p0y) * (p3y - p0y))
val rightH = sqrt((p2x - p1x) * (p2x - p1x) + (p2y - p1y) * (p2y - p1y))
@rprabhat rprabhat merged commit 6960d2b into main Jun 21, 2026
4 of 5 checks passed
@rprabhat rprabhat deleted the feat/play-store-deploy branch June 21, 2026 00:58
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.

3 participants