fastlane-plugin-bundletool 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9167816675321e0df8072fa9985ae92c7e6f15183448f4d58f92fbb70d6ed4f3
|
|
4
|
+
data.tar.gz: 4bf2737f7fb716a5d33fbac639e114ef358369e0821f386ce20fa9e36caac608
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9c86e85b5e4b673fc3239bcb59c1dc5d6a33e160f761bebd4a6fb4496833adcbf6617ebad992e0538c5b8e000ee0989910f31959935ebbd73d93ef62944f6ed
|
|
7
|
+
data.tar.gz: 618b0343feb2e6d652f2ba03ebcfc35e01d475756d5a8028161371cc7d7a27b4b1ff9773925e3eb13c985fce1f097bca4e93e12031c72f0c602455d27250e8e5
|
|
@@ -43,7 +43,7 @@ module Fastlane
|
|
|
43
43
|
end
|
|
44
44
|
puts_success('Downloading bundletool')
|
|
45
45
|
rescue StandardError => e
|
|
46
|
-
puts_error!("Something went wrong when downloading bundletool version #{version}")
|
|
46
|
+
puts_error!("Something went wrong when downloading bundletool version #{version}. \nError message\n #{e.message}")
|
|
47
47
|
end
|
|
48
48
|
end
|
|
49
49
|
|
|
@@ -53,8 +53,8 @@ module Fastlane
|
|
|
53
53
|
apk_output_absolute_path = Pathname.new(File.expand_path(apk_output_path)).to_s
|
|
54
54
|
output_path = run_bundletool!(aab_absolute_path, keystore_info)
|
|
55
55
|
prepare_apk!(output_path, apk_output_absolute_path)
|
|
56
|
-
rescue StandardError => e
|
|
57
|
-
puts_error!("Bundletool could not extract universal apk from aab at #{aab_absolute_path}")
|
|
56
|
+
rescue StandardError => e
|
|
57
|
+
puts_error!("Bundletool could not extract universal apk from aab at #{aab_absolute_path}. \nError message\n #{e.message}")
|
|
58
58
|
ensure
|
|
59
59
|
clean_temp!
|
|
60
60
|
end
|
|
@@ -91,8 +91,8 @@ module Fastlane
|
|
|
91
91
|
puts_important("Apk at path #{target_path} exists. Replacing it.") if File.file?(target_path)
|
|
92
92
|
target_dir_name = File.dirname(target_path)
|
|
93
93
|
unless Dir.exist?(target_dir_name)
|
|
94
|
-
puts_important("Creating path #{
|
|
95
|
-
|
|
94
|
+
puts_important("Creating path #{target_dir_name} since does not exist")
|
|
95
|
+
FileUtils.mkdir_p target_dir_name
|
|
96
96
|
end
|
|
97
97
|
cmd = "mv #{output_path} #{@bundletool_temp_path}/output.zip &&
|
|
98
98
|
unzip #{@bundletool_temp_path}/output.zip -d #{@bundletool_temp_path} &&
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-bundletool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Gonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|