fastlane-plugin-aws_s3 1.4.0 → 1.5.0
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: 36228aaa143a537f1ff1ca339a1f5ec2a64097d1
|
4
|
+
data.tar.gz: 1b75bc3acd8afe2a4805a9570fb21422036e1cc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5521b2bba83fa6baeec1585e649d434c5626ce29587e5161f70b8487adfecf24dec4313a91d8b9c16a0c0ff330ac7c291ae71fde02eb141c98d934d0b1a989e1
|
7
|
+
data.tar.gz: 722b6d042461c23410504fa064c2c4ea99cd45ab623f2d3904d089d7c20912b734e76d1d15c0db4a607a5dee88df01ea9e5a8fdd9104c29b549af87e7e6ef0f4
|
@@ -97,6 +97,10 @@ module Fastlane
|
|
97
97
|
Aws::S3::Client.new
|
98
98
|
end
|
99
99
|
|
100
|
+
if xcarchive_file.nil?
|
101
|
+
xcarchive_file = Actions.lane_context[SharedValues::XCODEBUILD_ARCHIVE]
|
102
|
+
end
|
103
|
+
|
100
104
|
upload_ipa(s3_client, params, s3_region, s3_access_key, s3_secret_access_key, s3_bucket, ipa_file, dsym_file, s3_path, acl, server_side_encryption) if ipa_file.to_s.length > 0
|
101
105
|
upload_apk(s3_client, params, s3_region, s3_access_key, s3_secret_access_key, s3_bucket, apk_file, s3_path, acl, server_side_encryption) if apk_file.to_s.length > 0
|
102
106
|
upload_xcarchive(s3_client, params, s3_region, s3_access_key, s3_secret_access_key, s3_bucket, ipa_file, xcarchive_file, s3_path, acl, server_side_encryption) if xcarchive_file.to_s.length > 0
|
@@ -164,7 +168,11 @@ module Fastlane
|
|
164
168
|
build_num = info['CFBundleVersion']
|
165
169
|
bundle_id = info['CFBundleIdentifier']
|
166
170
|
bundle_version = info['CFBundleShortVersionString']
|
167
|
-
|
171
|
+
display_name = info['CFBundleDisplayName']
|
172
|
+
if display_name.nil?
|
173
|
+
display_name = info['CFBundleName']
|
174
|
+
end
|
175
|
+
title = CGI.escapeHTML(display_name)
|
168
176
|
full_version = "#{bundle_version}.#{build_num}"
|
169
177
|
|
170
178
|
# Creating plist and html names
|
@@ -268,7 +276,7 @@ module Fastlane
|
|
268
276
|
archive_name = archive.gsub(' ','_')
|
269
277
|
archive_zip = "#{archive_name}.zip"
|
270
278
|
archive_zip_name = File.basename(archive_zip)
|
271
|
-
sh
|
279
|
+
sh("zip -r '#{archive_zip}' '#{archive}'")
|
272
280
|
full_archive_zip_name = "#{url_part}#{archive_zip_name}"
|
273
281
|
archive_zip_data = File.open(archive_zip, 'rb')
|
274
282
|
|
@@ -555,9 +563,9 @@ module Fastlane
|
|
555
563
|
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH]),
|
556
564
|
FastlaneCore::ConfigItem.new(key: :xcarchive,
|
557
565
|
env_name: "",
|
558
|
-
description: ".xcarchive file for the build ",
|
566
|
+
description: ".xcarchive file for the build. Set to a path to an `.xcarchive` file or `nil` for `Actions.lane_context[SharedValues::XCODEBUILD_ARCHIVE])` to be used",
|
559
567
|
optional: true,
|
560
|
-
default_value:
|
568
|
+
default_value: ""),
|
561
569
|
FastlaneCore::ConfigItem.new(key: :dsym,
|
562
570
|
env_name: "",
|
563
571
|
description: "zipped .dsym package for the build ",
|
@@ -683,7 +691,7 @@ module Fastlane
|
|
683
691
|
description: "Path to the folder you want to upload",
|
684
692
|
is_string: true,
|
685
693
|
optional: true,
|
686
|
-
default_value: nil)
|
694
|
+
default_value: nil)
|
687
695
|
]
|
688
696
|
end
|
689
697
|
|
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.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Holtz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|