Skip to content

Conversation

@iangmaia
Copy link
Contributor

@iangmaia iangmaia commented Oct 9, 2025

Closes AINFRA-1377: WCAndroid: Validate that release version sent by ReleasesV2 matches the project

Description

This PR updates the code freeze process to use the release version provided by ReleasesV2 as the source of truth.

The code freeze Buildkite pipeline now passes the RELEASE_VERSION environment variable to the code_freeze Fastlane lane.
If there's a mismatch between the passed version and the project calculated version, a warning is displayed to help identify configuration discrepancies, but the ReleasesV2 version is always used.

Testing

The code freeze lane has several side effects like potentially changing the version in the main branch, creating a release branch, updating release notes, etc, making it hard to easily test it. We can run a couple of tests locally commenting out parts of the lane, but they'll only test a minor part of the lane.
The changes will then be fully tested in the next release cycle during code freeze.

@iangmaia iangmaia self-assigned this Oct 9, 2025
@iangmaia iangmaia added the category: tooling Anything that involves building & maintaining the project, including scripts, `Fastfile`, etc. label Oct 9, 2025
@iangmaia iangmaia added this to the 23.5 milestone Oct 9, 2025
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Oct 9, 2025

📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App NameWooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commitc2b4454
Direct Downloadwoocommerce-wear-prototype-build-pr14731-c2b4454.apk

@AliSoftware
Copy link
Contributor

I have the same feedback as on https://github.com/bloom/DayOne-Android/pull/6612#pullrequestreview-3319847686, and given there's a batch of those PRs across repos, so let's focus the code review feedback on that single DOAndroid PR to avoid spreading the discussions, and merge the various repo's PRs all at once once the feedback have been addressed across all of them :)

@wpmobilebot
Copy link
Collaborator

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App NameWooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commitc2b4454
Direct Downloadwoocommerce-prototype-build-pr14731-c2b4454.apk

@iangmaia iangmaia enabled auto-merge October 10, 2025 18:37
@iangmaia iangmaia merged commit 420133c into trunk Oct 11, 2025
16 checks passed
@iangmaia iangmaia deleted the iangmaia/add-release-version-validation branch October 11, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: tooling Anything that involves building & maintaining the project, including scripts, `Fastfile`, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants