Sha256: 5afdaef72270dacafb5d65b46db4809b3bf84fcdc8f90382007ad4e9eb3eb83d

Contents?: true

Size: 564 Bytes

Versions: 14

Compression:

Stored size: 564 Bytes

Contents

module Deliver
  class UploadAssets
    def upload(options)
      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

14 entries across 14 versions & 2 rubygems

Version Path
fastlane-2.2.0 deliver/lib/deliver/upload_assets.rb
fastlane-2.1.3 deliver/lib/deliver/upload_assets.rb
fastlane-2.1.2 deliver/lib/deliver/upload_assets.rb
fastlane-2.1.1 deliver/lib/deliver/upload_assets.rb
deliver-2.0.1 lib/deliver/upload_assets.rb
fastlane-2.1.0 deliver/lib/deliver/upload_assets.rb
fastlane-2.0.5 deliver/lib/deliver/upload_assets.rb
fastlane-2.0.4 deliver/lib/deliver/upload_assets.rb
fastlane-2.0.3 deliver/lib/deliver/upload_assets.rb
fastlane-2.0.2 deliver/lib/deliver/upload_assets.rb
fastlane-2.0.1 deliver/lib/deliver/upload_assets.rb
deliver-1.16.2 lib/deliver/upload_assets.rb
deliver-1.16.1 lib/deliver/upload_assets.rb
deliver-1.16.0 lib/deliver/upload_assets.rb