lib/fastlane/plugin/polidea/actions/s3.rb in fastlane-plugin-polidea-0.4.0 vs lib/fastlane/plugin/polidea/actions/s3.rb in fastlane-plugin-polidea-0.4.1
- old
+ new
@@ -156,17 +156,20 @@
})
# Gets icon from ipa and uploads it
icon_url = self.upload_icon(icon_file, url_part, bucket, acl)
+ # require 'pry'
+ # binding.pry
+
# Creates html from template
html_render = PageGenerator.generate({
url: "itms-services://?action=download-manifest&url=#{URI.encode_www_form_component(plist_url)}",
installation_password: installation_password,
app_version: bundle_version,
build_number: build_number,
- title: app_name,
+ app_name: app_name,
app_icon: icon_url,
platform: "ios"
})
# Creates version from template
@@ -271,11 +274,11 @@
html_render = PageGenerator.generate({
url: apk_url,
installation_password: installation_password,
app_version: app_version,
build_number: build_number,
- title: app_name,
+ app_name: app_name,
app_icon: icon_url,
platform: "android"
})
html_url = self.upload_file(bucket, html_file_name, html_render, acl)
@@ -378,10 +381,10 @@
extensions_to_type = {
".html" => "text/html",
".png" => "image/png",
".jpg" => "text/jpeg",
".gif" => "image/gif",
- ".svg" => "image/svg",
+ ".svg" => "image/svg+xml",
".log" => "text/plain",
".css" => "text/css",
".js" => "application/javascript"
}
if extensions_to_type[file_extension].nil?