Sometimes you might have a lane that is used from different lanes, for example:
lane :production do
...
build(release: true)
appstore # Deploy to the AppStore
...
end
lane :beta do
...
build(release: false)
crashlytics # Distribute to testers
...
end
lane :build do |options|
...
ipa
...
end
It probably doesn't make sense to execute the build
lane directly using fastlane build
. You can hide this lane using
private_lane :build do |options|
...
end
This will hide the lane from:
fastlane lanes
fastlane list
fastlane docs
And also, you can't call the private lane using fastlane build
.
The resulting private lane can only be called from another lane using the lane switching technology 🚀
This release also includes:
- Improved debug information when something goes wrong with an action
- Improved showing of build steps