Skip to content

Conversation

@jamesarich
Copy link
Collaborator

Adds a new check-versioncode-google-play job to the release workflow. This job uses Fastlane to verify if the current versionCode already exists on the Google Play internal track before proceeding with a build and deploy.

The release-google and release-fdroid jobs are now conditional on this check:

  • If the versionCode does not exist, the internal build and upload to Google Play and F-Droid proceeds as normal.
  • If the versionCode already exists on an internal release, the build and upload steps are skipped to prevent failures, but promotion logic can still run.
  • When promoting to beta or production, the workflow now fails if the versionCode is not found on the internal track, preventing promotion errors.

Adds a new `check-versioncode-google-play` job to the release workflow. This job uses Fastlane to verify if the current `versionCode` already exists on the Google Play internal track before proceeding with a build and deploy.

The `release-google` and `release-fdroid` jobs are now conditional on this check:
- If the `versionCode` does not exist, the internal build and upload to Google Play and F-Droid proceeds as normal.
- If the `versionCode` already exists on an internal release, the build and upload steps are skipped to prevent failures, but promotion logic can still run.
- When promoting to beta or production, the workflow now fails if the `versionCode` is not found on the internal track, preventing promotion errors.

Signed-off-by: James Rich <[email protected]>
@jamesarich jamesarich added the ci Pertains to ci/cd actions or workflows label Oct 3, 2025
@jamesarich jamesarich merged commit c1f411b into main Oct 3, 2025
4 of 5 checks passed
@jamesarich jamesarich deleted the fix/check-if-vc-exists branch October 3, 2025 21:29
@github-actions github-actions bot added the bugfix PR tag label Oct 3, 2025
jamesarich added a commit that referenced this pull request Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag ci Pertains to ci/cd actions or workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants