fastlane-plugin-bundletool 1.0.8 → 1.0.9
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: 7fb3b3676492fd3f6a4bfc64426a28937f6c92bf98024ccacf761169d2443383
|
|
4
|
+
data.tar.gz: 861566dc3312e4cfe2199f773f0ae10a33a8e43bb096d5a0a0b194595d97c427
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b51d6b7495b427fb35c3c6f8c429299da981d7eae09847577af154735cde54d99ea1dda1e5eb3d4c12a0cbf27fabeaede25299a62696778ecdaa2fc52cf20dc
|
|
7
|
+
data.tar.gz: a06d8c3ab1aaf481295abe63a31c2afaa9fcdfce0eef51de05f8c5a246502883660ebd47a02d84ec418d488b96852d3cd1e5fca4f8ac023fcbcc279f2106ff56
|
data/README.md
CHANGED
|
@@ -44,6 +44,24 @@ bundletool(
|
|
|
44
44
|
|
|
45
45
|
This will output the universal `.apk` in the output path you set.
|
|
46
46
|
|
|
47
|
+
## Options
|
|
48
|
+
|
|
49
|
+
| Key | Description | Env Var(s) | Default |
|
|
50
|
+
|-----------------------|---------------------------------------------------------|---------------------------------|---------|
|
|
51
|
+
| ks_path | Path to .jks file | FL_BUNDLETOOL_KEYSTORE_FILE | |
|
|
52
|
+
| ks_password | .jks password | FL_BUNDLETOOL_KEYSTORE_PASSWORD | |
|
|
53
|
+
| ks_key_alias | Alias for jks | FL_BUNDLETOOL_KEY_ALIAS | |
|
|
54
|
+
| ks_key_alias_password | Alias password for .jks | FL_BUNDLETOOL_KEY_PASSWORD | |
|
|
55
|
+
| bundletool_version | Version of bundletool to use, by default 0.11.0 will | FL_BUNDLETOOL_VERSION | 0.11.0 |
|
|
56
|
+
| | be used | | |
|
|
57
|
+
| download_url | Url to download bundletool from, should point to a jar | FL_BUNDLETOOL_DOWNLOAD_URL | |
|
|
58
|
+
| | file | | |
|
|
59
|
+
| aab_path | Path where the aab file is | FL_BUNDLETOOL_AAB_PATH | |
|
|
60
|
+
| apk_output_path | Path where the apk file is going to be placed | FL_BUNDLETOOL_APK_OUTPUT_PATH | . |
|
|
61
|
+
| verbose | Show every messages of the action | FL_BUNDLETOOL_VERBOSE | false |
|
|
62
|
+
| cache_path | Cache downloaded bundletool binary into the cache path | FL_BUNDLETOOL_CACHE_PATH | |
|
|
63
|
+
|-----------------------|---------------------------------------------------------|---------------------------------|---------|
|
|
64
|
+
|
|
47
65
|
## Use case
|
|
48
66
|
|
|
49
67
|
Here you can find a post I did explaining why I have to create this action.
|
|
@@ -158,30 +158,37 @@ module Fastlane
|
|
|
158
158
|
def self.available_options
|
|
159
159
|
[
|
|
160
160
|
FastlaneCore::ConfigItem.new(key: :ks_path,
|
|
161
|
+
env_name: 'FL_BUNDLETOOL_KEYSTORE_FILE',
|
|
161
162
|
description: 'Path to .jks file',
|
|
162
163
|
is_string: true,
|
|
163
164
|
optional: true),
|
|
164
165
|
FastlaneCore::ConfigItem.new(key: :ks_password,
|
|
166
|
+
env_name: 'FL_BUNDLETOOL_KEYSTORE_PASSWORD',
|
|
165
167
|
description: '.jks password',
|
|
166
168
|
is_string: true,
|
|
167
169
|
optional: true),
|
|
168
170
|
FastlaneCore::ConfigItem.new(key: :ks_key_alias,
|
|
171
|
+
env_name: 'FL_BUNDLETOOL_KEY_ALIAS',
|
|
169
172
|
description: 'Alias for jks',
|
|
170
173
|
is_string: true,
|
|
171
174
|
optional: true),
|
|
172
175
|
FastlaneCore::ConfigItem.new(key: :ks_key_alias_password,
|
|
176
|
+
env_name: 'FL_BUNDLETOOL_KEY_PASSWORD',
|
|
173
177
|
description: 'Alias password for .jks',
|
|
174
178
|
is_string: true,
|
|
175
179
|
optional: true),
|
|
176
180
|
FastlaneCore::ConfigItem.new(key: :bundletool_version,
|
|
181
|
+
env_name: 'FL_BUNDLETOOL_VERSION',
|
|
177
182
|
description: 'Version of bundletool to use, by default 0.11.0 will be used',
|
|
178
183
|
is_string: true,
|
|
179
184
|
default_value: '0.11.0'),
|
|
180
185
|
FastlaneCore::ConfigItem.new(key: :download_url,
|
|
186
|
+
env_name: 'FL_BUNDLETOOL_DOWNLOAD_URL',
|
|
181
187
|
description: 'Url to download bundletool from, should point to a jar file',
|
|
182
188
|
is_string: true,
|
|
183
189
|
optional: true),
|
|
184
190
|
FastlaneCore::ConfigItem.new(key: :aab_path,
|
|
191
|
+
env_name: 'FL_BUNDLETOOL_AAB_PATH',
|
|
185
192
|
description: 'Path where the aab file is',
|
|
186
193
|
is_string: true,
|
|
187
194
|
optional: false,
|
|
@@ -191,21 +198,23 @@ module Fastlane
|
|
|
191
198
|
end
|
|
192
199
|
end),
|
|
193
200
|
FastlaneCore::ConfigItem.new(key: :apk_output_path,
|
|
201
|
+
env_name: 'FL_BUNDLETOOL_APK_OUTPUT_PATH',
|
|
194
202
|
description: 'Path where the apk file is going to be placed',
|
|
195
203
|
is_string: true,
|
|
196
204
|
optional: true,
|
|
197
205
|
default_value: '.'),
|
|
198
206
|
FastlaneCore::ConfigItem.new(key: :verbose,
|
|
207
|
+
env_name: 'FL_BUNDLETOOL_VERBOSE',
|
|
199
208
|
description: 'Show every messages of the action',
|
|
200
209
|
is_string: false,
|
|
201
210
|
type: Boolean,
|
|
202
211
|
optional: true,
|
|
203
212
|
default_value: false),
|
|
204
|
-
|
|
213
|
+
FastlaneCore::ConfigItem.new(key: :cache_path,
|
|
214
|
+
env_name: 'FL_BUNDLETOOL_CACHE_PATH',
|
|
205
215
|
description: 'Cache downloaded bundletool binary into the cache path specified',
|
|
206
|
-
is_string: true,
|
|
216
|
+
is_string: true,
|
|
207
217
|
optional: true)
|
|
208
|
-
|
|
209
218
|
]
|
|
210
219
|
end
|
|
211
220
|
|
|
@@ -239,7 +248,7 @@ module Fastlane
|
|
|
239
248
|
puts_message("Using binary cached at #{installation_path}/#{bundletool_filename}")
|
|
240
249
|
return
|
|
241
250
|
end
|
|
242
|
-
|
|
251
|
+
|
|
243
252
|
puts_message("Downloading bundletool from #{download_url}")
|
|
244
253
|
|
|
245
254
|
URI.open(download_url) do |bundletool|
|
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.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Gonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|