fastlane-plugin-bundletool 1.0.8 → 1.0.9

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
  SHA256:
3
- metadata.gz: 0df0a840288a7028a5052aba0ab6beede179d3c7f8c8151c89ee5f6223779924
4
- data.tar.gz: 472c240a4018e1a22a91f14379944c8ecb764cf65c27792d7e30b966fb083943
3
+ metadata.gz: 7fb3b3676492fd3f6a4bfc64426a28937f6c92bf98024ccacf761169d2443383
4
+ data.tar.gz: 861566dc3312e4cfe2199f773f0ae10a33a8e43bb096d5a0a0b194595d97c427
5
5
  SHA512:
6
- metadata.gz: 4640820cc8011541892f8979ccc870de5751d4f067d5ed74cfe6219317c09565b85f94b680dbc04b6e7952ef1b908f23792f7d9c04ba023ff2248293965a090d
7
- data.tar.gz: 5f9e32338638c28d7210bfbdc2ed100cac55f7ec7d66f6283c8d75e370e005b18bb1d2ad1e0e9d07b2272ce1592c3d038a43fc26822d4a3dd1a72bdabb444c31
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
- FastlaneCore::ConfigItem.new(key: :cache_path,
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|
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Bundletool
3
- VERSION = "1.0.8"
3
+ VERSION = "1.0.9"
4
4
  end
5
5
  end
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.8
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-03-08 00:00:00.000000000 Z
11
+ date: 2023-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry