Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
L3o-pold committed Aug 26, 2023
1 parent 44b3a3d commit f4e2efb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -671,17 +671,17 @@ platform :ios do
root_dir = Dir[File.expand_path('..')].first
ios_build_dir = "#{root_dir}/ios/Build/Products"

ENV['APP_NAME'] = 'Mattermost'
ENV['APP_NAME'] = 'kChat'
ENV['REPLACE_ASSETS'] = 'true'
ENV['BUILD_FOR_RELEASE'] = 'true'
ENV['APP_SCHEME'] = 'mattermost'
ENV['APP_SCHEME'] = 'kChat'

update_identifiers
replace_assets

sh "rm -rf #{ios_build_dir}/"
sh "cd #{root_dir}/ios && xcodebuild -workspace kChat.xcworkspace -scheme kChat -configuration Release -parallelizeTargets CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO SYMROOT='#{ios_build_dir}' #{more_xc_args} "
sh "cd #{ios_build_dir}/#{rel_build_dir} && zip -r #{output_file} Mattermost.app"
sh "cd #{ios_build_dir}/#{rel_build_dir} && zip -r #{output_file} kChat.app"
sh "mv #{ios_build_dir}/#{rel_build_dir}/#{output_file} #{root_dir}"
end

Expand Down

0 comments on commit f4e2efb

Please sign in to comment.