You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a couple of issues regarding prereleases (like #11) and I think it would be great to discuss how handle prerelease or versions that will get to TestFlight but NO to published to the store.
I would love to create a PR, I just want to be sure what would be the standard.
Problem
Example:
I wrote a couple of fixes and features for my app that are ready to be tested.
We run expo build:ios --release-channel stage
Distribute the testing build via TestFlight IMPORTANT -> We need to increment the build number (Problem 1)
All the tests passes, so we run expo build:ios --release-channel prod
We try to upload the production build and BOM, error, the build numbers should be different (Problem 2)
So we try to use standard-version-expo.
I wrote a couple of fixed and features that are ready to be tested.
. Distribute the testing build via TestFlight IMPORTANT -> The build was already increased (Problem solved! 👍 )
All the tests passes, so we run expo build:ios --release-channel prod
We try to upload the production build and BOM, error, the build numbers should be different to the one that was used on the testing phase, so a solution? run standard-version as a patch? Change only the builds manually? What is the best option here?
Posible solutions
Update the release channel of the existing testing build to production, but that is not possible.
Format the pre-release correctly, and then when creating the production release just bump the versionCode (android) and versionBuild (iOS) NOT the version on app.json and package.json (Since package.json.version is the source of truth, this can be a problem)
A solution that I found online was create a second app with a second bundle id (have an app that would never get to the stores) but I think this is a overkill.
What approach to you use? I would love to hear what can be improved or what is the flow the you use!
Thanks!
PD: standard-version-expo/ios/code is not possible to use because is not allowed by AppStore.
The text was updated successfully, but these errors were encountered:
Hi ! I'm facing the same questions. Did someone find a suitable solution to this issue ?
It seems the best answer would be to have pre-release versionCode and buildNumber correctly incremented and formatted without incrementing version (maybe versionCode could use additional digits for pre-release).
Or maybe we could use this pending PR as well ? #37
There are a couple of issues regarding prereleases (like #11) and I think it would be great to discuss how handle
prerelease
or versions that will get to TestFlight but NO to published to the store.I would love to create a PR, I just want to be sure what would be the standard.
Problem
Example:
expo build:ios --release-channel stage
expo build:ios --release-channel prod
So we try to use
standard-version-expo
.standard-version
to increment the build number of both platforms and the versions (We can't use pre-releases because of Android increments are wrong when using prereleases #11 and is not working for iOS either)expo build:ios --release-channel prod
standard-version
as a patch? Change only the builds manually? What is the best option here?Posible solutions
versionCode
(android) andversionBuild
(iOS) NOT the version on app.json and package.json (Since package.json.version is the source of truth, this can be a problem)A solution that I found online was create a second app with a second bundle id (have an app that would never get to the stores) but I think this is a overkill.
What approach to you use? I would love to hear what can be improved or what is the flow the you use!
Thanks!
PD:
standard-version-expo/ios/code
is not possible to use because is not allowed by AppStore.The text was updated successfully, but these errors were encountered: