Skip to content
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

feat: use fastlane env for IPA path #2

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

bryanoltman
Copy link
Contributor

Finds the most recently-created IPA file in the build/ios/ipa directory and sets IPA_OUTPUT_PATH to that file's path. See https://docs.fastlane.tools/advanced/lanes/#lane-context

Fixes #1

@bryanoltman bryanoltman requested review from eseidel and felangel July 30, 2024 17:46
Fastlane::Actions.sh("shorebird release #{platform} #{params[:args]}".strip)

if platform == "ios"
# Get the most recently-created IPA file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, this will fail when customers travel and clocks change. 🙃

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They would need to both travel and rename their app. Maybe something a person does on a plane, but I'm not super worried :)

@bryanoltman bryanoltman merged commit 958ac46 into main Jul 30, 2024
1 check passed
@bryanoltman bryanoltman deleted the bo/ipa-output-path branch July 30, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should follow lane_context outputs. eg.SharedValues::IPA_OUTPUT_PATH, GRADLE_APK_OUTPUT_PATH, etc..
2 participants