From 661a37af95ad0688c957b59731c9fccbfbc84d9f Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Mon, 18 Jun 2018 17:51:01 -0400 Subject: [PATCH] Fix fastlane ios release splash screen (#1780) * Fix fastlane ios release splash screen * Fix segment replacement --- fastlane/Fastfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index f8f4db91c..b8dd62eda 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -166,7 +166,7 @@ platform :ios do def replace_ios_assets() if ENV['IOS_REPLACE_ASSETS'] == 'true' sh 'cp -R ../dist/assets/release/icons/ios/* ../ios/Mattermost/Images.xcassets/AppIcon.appiconset/' - sh 'cp -R ../dist/assets/release/splash_screen/ios/* ../ios/SplashScreenResource/*' + sh 'cp -R ../dist/assets/release/splash_screen/ios/* ../ios/SplashScreenResource/' end end @@ -571,7 +571,7 @@ def configure_from_env unless ENV['SEGMENT_API_KEY'].nil? || ENV['SEGMENT_API_KEY'].empty? find_replace_string( path_to_file: './dist/assets/config.json', - old_string: '"SegmentApiKey": "3MT7rAoC0OP7yy3ThzqFSAtKzmzqtUPX"', + old_string: '"SegmentApiKey": "oPPT2MA24VYZTBGDyXtUDa7u50lkPIE4"', new_string: "\"SegmentApiKey\": \"#{ENV['SEGMENT_API_KEY']}\"" ) end