summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-10-12 10:25:52 -0700
committerJason Wray <jason@mapbox.com>2017-10-12 11:07:21 -0700
commit4fb2b7db5b597454a6ef3effca5ca6f1db0c90bf (patch)
treef81ff814fdf0598a5f223386612742fad41b3001
parentfe5330738b983bc8ae22bc702e7123caa1b2dcac (diff)
downloadqtlocation-mapboxgl-upstream/fb-nightly-iosapp.tar.gz
Try to make it update signing/profilesupstream/fb-nightly-iosapp
-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."