-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grab iOS version from release event #4957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I have one question and two comments:
- Do we need to set the iOS version conditionally? i.e: can we set this environment variable for both prod and non-prod builds?
- Let's use
fromJSON
instead of string comparison - Also, let's add a second line to the new step to just echo the
IOS_VERSION
environment variable to the console. Seems like useful debugging information.
Also, should we get rid of the old code in |
Co-authored-by: Rory Abraham <[email protected]>
We can, but it's not needed for staging as the version comes from elsewhere and additionally the release event won't be set
Committed your suggestion!
👍
We can remove the code in |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @roryabraham in version: 1.0.90-3 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.0.91-0 🚀
|
Details
Uses the release event's tag to send to fastlane, to determine which version to promote to iOS production. It looks like the old ios.yml used to rely on
bumpVersion.js
to set this in theenv
which we cannot rely on anymoreFixed Issues
$ https://github.com/Expensify/Expensify/issues/175849
Tests