Sha256: fe392272f8eb4481bded5b62f923a85916798fbdd8104b7ceeb718f9a77ced77
Contents?: true
Size: 728 Bytes
Versions: 10
Compression:
Stored size: 728 Bytes
Contents
require 'ios_toolchain/helpers' include IosToolchain::Helpers if config.crashlytics_installed? namespace :ios do namespace :distribute do desc 'Distribute pre-built IPA to Crashlytics' task :crashlytics, :ipa_path, :configuration do |t, args| args.with_defaults(ipa_path: 'archive') puts 'Distributing to crashlytics...' build_cmd = [] build_cmd << "#{config.crashlytics_framework_path}/submit #{ENV['FABRIC_API_KEY']} #{ENV['FABRIC_BUILD_SECRET']}" build_cmd << "-ipaPath #{args[:ipa_path]}/#{config.default_scheme}-#{args[:configuration]}.ipa" build_cmd << "-groupAliases #{args[:configuration]}" sh(build_cmd.join(' ')) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems