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