fastlane-plugin-aws_s3 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fcc69803ced2ff28803e66247d27c4da02eae9a
|
4
|
+
data.tar.gz: 10a950c014047044367c46fb6fe93f1c15a14eb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37bae18ce15c6e3d8aa3a40c278479315847ebd0f367728b943fd780ada7c02bc5976dbd0828d15fadd8a0e0dce598be407b0cbd6c37ac8f0797735584f99269
|
7
|
+
data.tar.gz: b2047e37eb9818efa09c7e627e6e7fdb474e54640f80f801b27963b691719d88043adf5eaac4b92ecfaf6a35336de3af85441b3032b84eb67b257a10872bd792
|
@@ -58,7 +58,7 @@
|
|
58
58
|
Install <%= title %> <%= version_name %> (<%= version_code %>)
|
59
59
|
</a>
|
60
60
|
<br>
|
61
|
-
<p>Built on <%=
|
61
|
+
<p>Built on <%= Time.now.strftime('%a, %e %b %Y %H:%M %p') %></p>
|
62
62
|
</span>
|
63
63
|
|
64
64
|
<!-- <span class="download" id="android">
|
@@ -58,7 +58,7 @@
|
|
58
58
|
Install <%= title %> <%= bundle_version %> (<%= build_num %>)
|
59
59
|
</a>
|
60
60
|
<br>
|
61
|
-
<p>Built on <%=
|
61
|
+
<p>Built on <%= Time.now.strftime('%a, %e %b %Y %H:%M %p') %></p>
|
62
62
|
</span>
|
63
63
|
|
64
64
|
<!-- <span class="download" id="android">
|
@@ -45,6 +45,7 @@ module Fastlane
|
|
45
45
|
params[:html_in_folder] = config[:html_in_folder]
|
46
46
|
params[:version_template_path] = config[:version_template_path]
|
47
47
|
params[:version_file_name] = config[:version_file_name]
|
48
|
+
params[:override_file_name] = config[:override_file_name]
|
48
49
|
|
49
50
|
# Pulling parameters for other uses
|
50
51
|
s3_region = params[:region]
|
@@ -105,11 +106,12 @@ module Fastlane
|
|
105
106
|
generate_html_in_folder = params[:html_in_folder]
|
106
107
|
version_template_path = params[:version_template_path]
|
107
108
|
version_file_name = params[:version_file_name]
|
109
|
+
override_file_name = params[:override_file_name]
|
108
110
|
|
109
111
|
url_part = self.expand_path_with_substitutions_from_ipa_plist(ipa_file, s3_path)
|
110
112
|
|
111
113
|
ipa_file_basename = File.basename(ipa_file)
|
112
|
-
ipa_file_name = "#{url_part}#{ipa_file_basename}"
|
114
|
+
ipa_file_name = "#{url_part}#{override_file_name ? override_file_name : ipa_file_basename}"
|
113
115
|
ipa_file_data = File.open(ipa_file, 'rb')
|
114
116
|
|
115
117
|
ipa_url = self.upload_file(s3_client, s3_bucket, app_directory, ipa_file_name, ipa_file_data, acl, server_side_encryption)
|
@@ -257,11 +259,12 @@ module Fastlane
|
|
257
259
|
generate_html_in_folder = params[:html_in_folder]
|
258
260
|
version_template_path = params[:version_template_path]
|
259
261
|
version_file_name = params[:version_file_name]
|
262
|
+
override_file_name = params[:override_file_name]
|
260
263
|
|
261
264
|
url_part = s3_path
|
262
265
|
|
263
266
|
apk_file_basename = File.basename(apk_file)
|
264
|
-
apk_file_name = "#{url_part}#{apk_file_basename}"
|
267
|
+
apk_file_name = "#{url_part}#{override_file_name ? override_file_name : apk_file_basename}"
|
265
268
|
apk_file_data = File.open(apk_file, 'rb')
|
266
269
|
|
267
270
|
apk_url = self.upload_file(s3_client, s3_bucket, app_directory, apk_file_name, apk_file_data, acl, server_side_encryption)
|
@@ -569,8 +572,12 @@ module Fastlane
|
|
569
572
|
env_name: "S3_ENDPOINT",
|
570
573
|
description: "The base endpoint for your S3 bucket",
|
571
574
|
optional: true,
|
572
|
-
default_value: nil
|
573
|
-
|
575
|
+
default_value: nil),
|
576
|
+
FastlaneCore::ConfigItem.new(key: :override_file_name,
|
577
|
+
env_name: "",
|
578
|
+
description: "Optional override ipa/apk uploaded file name",
|
579
|
+
optional: true,
|
580
|
+
default_value: nil),
|
574
581
|
]
|
575
582
|
end
|
576
583
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-aws_s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Holtz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|