[fastlane_core][pilot][deliver] fix when polling for build processing to poll for X.Y and X.Y.0 #18547
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Apple sees versions with as
X.Y
andX.Y.0
as the same. This can lead to issues when waiting for build processing as the queryable version format is the type that was first uploaded.Example: If first version was
X.Y
and next uploads wereX.Y.0
, the API returns nothing when querying forX.Y.0
but will forX.Y
This will lead to an infinite poll as nothing will ever appear for
X.Y.0
.Description
A few changes have been made to
FastlaneCore::BuildWatcher
0
, an extra API call will be made with the major and minor versions0
patch versionIf watched app version will be given preference if a build exists in that one. Otherwise the build will be taken from the secondary API request.
New logs have also been added when a build is found in the adjusted version 👇
Sample of new log
Full log with addition