Sha256: 2ead37c47038a3bfe20669b161408fd5e1b23bfb1d5d239e5ff2160a227afbbe

Contents?: true

Size: 600 Bytes

Versions: 51

Compression:

Stored size: 600 Bytes

Contents

module Deliver
  class UploadAssets
    def upload(options)
      return if options[:edit_live]
      app = options[:app]

      v = app.edit_version(platform: options[:platform])
      UI.user_error!("Could not find a version to edit for app '#{app.name}'") unless v

      if options[:app_icon]
        UI.message("Uploading app icon...")
        v.upload_large_icon!(options[:app_icon])
      end

      if options[:apple_watch_app_icon]
        UI.message("Uploading apple watchapp icon...")
        v.upload_watch_icon!(options[:apple_watch_app_icon])
      end

      v.save!
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
fastlane-2.20.0.beta.20170308010036 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.3 deliver/lib/deliver/upload_assets.rb
fastlane-2.20.0.beta.20170307010029 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.2 deliver/lib/deliver/upload_assets.rb
fastlane-2.20.0.beta.20170306010752 deliver/lib/deliver/upload_assets.rb
fastlane-2.20.0.beta.20170305010057 deliver/lib/deliver/upload_assets.rb
fastlane-2.20.0.beta.20170304010023 deliver/lib/deliver/upload_assets.rb
fastlane-2.20.0.beta.20170303010054 deliver/lib/deliver/upload_assets.rb
fastlane-2.20.0.beta.20170302010029 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.1 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.0 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.0.beta.20170301010932 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.0.beta.20170228010016 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.0.beta.20170227010016 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.0.beta.20170226010028 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.0.beta.20170225010031 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.0.beta.20170224010025 deliver/lib/deliver/upload_assets.rb
fastlane-2.18.3 deliver/lib/deliver/upload_assets.rb
fastlane-2.19.0.beta.20170223010028 deliver/lib/deliver/upload_assets.rb
fastlane-2.18.2 deliver/lib/deliver/upload_assets.rb