Skip to content

[codex] Derive Android version code from run number#417

Merged
jjoonleo merged 1 commit into
mainfrom
codexd/android-run-number-versioning
May 8, 2026
Merged

[codex] Derive Android version code from run number#417
jjoonleo merged 1 commit into
mainfrom
codexd/android-run-number-versioning

Conversation

@jjoonleo

@jjoonleo jjoonleo commented May 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Derive Android versionName from pubspec.yaml in release workflows.
  • Use github.run_number as the generated Android versionCode for Play upload and release verification builds.
  • Reset pubspec.yaml to 1.0.0+1 and update Android release docs so future redeploys do not require PRs that only bump +2, +3, etc.

Why

Google Play requires a monotonically increasing Android versionCode, but checked-in Flutter build suffix bumps create noisy PRs. Using the workflow run number keeps CI uploads monotonic while leaving the public version name manually controlled in pubspec.yaml.

Validation

  • Parsed .github/workflows/android-play-internal.yml, .github/workflows/android-release-verify.yml, and pubspec.yaml with Ruby YAML.
  • Ran git diff --check.
  • Verified the shell extraction resolves 1.0.0+1 to Android build name 1.0.0.

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 8adf7a3):

https://ontime-c63f1--pr417-codexd-android-run-n-u8gkmt7d.web.app

(expires Fri, 15 May 2026 16:22:41 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 8adf7a3):

https://on-time-front-widgetbook--pr417-codexd-android-run-n-dd2jxvbc.web.app

(expires Fri, 15 May 2026 16:23:57 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e53128a376fed0209d449279de9c0d94c83cdd8b

@jjoonleo jjoonleo marked this pull request as ready for review May 8, 2026 16:24
@jjoonleo jjoonleo merged commit 07387ad into main May 8, 2026
4 checks passed
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