summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/ios/fastlane/Fastfile17
1 files changed, 10 insertions, 7 deletions
diff --git a/platform/ios/fastlane/Fastfile b/platform/ios/fastlane/Fastfile
index a32a9147bc..6a0ce3341b 100644
--- a/platform/ios/fastlane/Fastfile
+++ b/platform/ios/fastlane/Fastfile
@@ -11,15 +11,18 @@ opt_out_usage
default_platform :ios
+project = "ios.xcodeproj"
+plist = "app/Info.plist"
+identifier = "com.mapbox.MapboxGL-nightly"
+teamid = ENV['FASTLANE_TEAM_ID']
+
platform :ios do
before_all do
- #update_fastlane
- update_info_plist(
- app_identifier: "com.mapbox.MapboxGL-nightly",
- display_name: "Nightly",
- plist_path: "app/Info.plist",
- xcodeproj: "ios.xcodeproj"
- )
+ update_fastlane
+ update_info_plist(display_name: "Nightly", app_identifier: identifier, plist_path: plist, xcodeproj: project)
+ update_app_identifier(app_identifier: identifier, plist_path: plist, xcodeproj: project)
+ update_project_team(path: project, teamid: teamid)
+ set_info_plist_value(path: plist, key: "MAPBOX_ACCESS_TOKEN", value: ENV['MAPBOX_ACCESS_TOKEN'])
end
desc "Submit a new build to Apple TestFlight."