fastlane-plugin-bundletool 1.0.10 → 1.0.11
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: b2656e2f3d17ab99447189a43f7337906d1f84eeb4418ad25ec2f9203564764a
|
4
|
+
data.tar.gz: b2ee465e8168baa2926a119059157747a51e12b9334e1c87ab116b713f96d200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2680c1e5c950a3b222c6de916ca7b9cba00cb963814fa09e3c8bfd5854708a440f7d83e73345f082ab6394f7f9a2a131750149571aa8d2101ce5fb1abe4069f
|
7
|
+
data.tar.gz: 446ec9ecd3775d0c8f94b9287facba2e999b6b3471eeb61ecf230f8b248b25aa45b640cfb8f3db4ad6afa0cd78ebaca5ca868463b42ced328bd928e793f9595a
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Bundletool for Fastlane
|
2
2
|
|
3
|
-
[](https://rubygems.org/gems/fastlane-plugin-bundletool)
|
3
|
+
[](https://rubygems.org/gems/fastlane-plugin-bundletool)   [](https://github.com/MartinGonzalez/fastlane-plugin-bundletool/actions) 
|
4
4
|
|
5
5
|
## Getting Started
|
6
6
|
|
@@ -13,7 +13,7 @@ fastlane add_plugin bundletool
|
|
13
13
|
or in your Pluginfile under fastlane folder write the following line and run `bundle install`.
|
14
14
|
|
15
15
|
```
|
16
|
-
gem 'fastlane-plugin-bundletool'
|
16
|
+
gem 'fastlane-plugin-bundletool'
|
17
17
|
```
|
18
18
|
|
19
19
|
## About bundletool
|
@@ -43,7 +43,7 @@ module Fastlane
|
|
43
43
|
end
|
44
44
|
|
45
45
|
unless download_url.nil?
|
46
|
-
bundletool_filename = "bundletool_#{
|
46
|
+
bundletool_filename = "bundletool_#{Digest::SHA256.hexdigest(download_url)}.jar"
|
47
47
|
else
|
48
48
|
bundletool_filename = "bundletool_#{bundletool_version}.jar"
|
49
49
|
end
|
@@ -120,9 +120,11 @@ module Fastlane
|
|
120
120
|
puts_important("Creating path #{target_dir_name} since does not exist")
|
121
121
|
FileUtils.mkdir_p target_dir_name
|
122
122
|
end
|
123
|
-
|
124
|
-
|
125
|
-
|
123
|
+
|
124
|
+
cmd = "mv \"#{output_path}\" \"#{@bundletool_temp_path}/output.zip\" &&"\
|
125
|
+
"unzip \"#{@bundletool_temp_path}/output.zip\" -d \"#{@bundletool_temp_path}\" &&"\
|
126
|
+
"mv \"#{@bundletool_temp_path}/universal.apk\" \"#{target_path}\""
|
127
|
+
|
126
128
|
Open3.popen3(cmd) do |_, _, stderr, wait_thr|
|
127
129
|
exit_status = wait_thr.value
|
128
130
|
raise stderr.read unless exit_status.success?
|
@@ -245,7 +247,6 @@ module Fastlane
|
|
245
247
|
[:android].include?(platform)
|
246
248
|
end
|
247
249
|
|
248
|
-
private
|
249
250
|
|
250
251
|
def self.download_and_write_bundletool(download_url, bundletool_filename, installation_path)
|
251
252
|
if(File.exist?"#{installation_path}/#{bundletool_filename}")
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Gonzalez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|