fastlane-plugin-bundletool 1.1.1 → 1.1.2

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: f8053da1abaa5ef90b2692e2b8f4eeb5c7dd2b071d565016eb708a22336903dc
4
- data.tar.gz: f0699f06760211eee10c0fc874ea7bf1902ba0477463d65d130addb8dd4ac004
3
+ metadata.gz: 15ccae003b62d1ace52c7b2dde01c9b854e0f6762e8c2097a4709cc452d59626
4
+ data.tar.gz: a5e63b538684c5587493bd525d39a05310c7e7e17aef4e1a07bb4a237a873117
5
5
  SHA512:
6
- metadata.gz: 88340ef21d0587c563bb8a2ac86389ccc909ed88af62bf29dfbcfc7ae40d0f87031ecfcf2d46caa516a82fde3e4a5ebb4b9c91ed151139be140f6ba6a128d956
7
- data.tar.gz: 5679f6b50fd654901cb2ec16f2b10f745e23f6809eb4cd7e41ff9965ee074d3a796a06ffd5ff83537492454e6f5377f4b175b63bbd01096f7b15e80ccc80efab
6
+ metadata.gz: dc1a93ad20da6bb1acd30d4b06273b6626fdedb374ed07bd1c601064c31ef98402052c08c657b30f3e9c6741fbed4cc2355e2e6138d9f94b6b1ead7ae153f06f
7
+ data.tar.gz: 398bf27aa6fbcd65f5008baaf7fe89e13f1f715832d1fd479c5903938982a7b3d81fe14157540beca66a2215162a15d466526a709ee87a719559c36abfd30f75
@@ -22,11 +22,16 @@ module Fastlane
22
22
 
23
23
  bundletool_version = params[:bundletool_version]
24
24
  download_url = params[:download_url]
25
- aab_path = params[:aab_path]
25
+ aab_path = params[:aab_path] || Actions.lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH]
26
26
  output_path = params[:apk_output_path] || '.'
27
27
  cache_path = params[:cache_path]
28
28
  universal_apk = params[:universal_apk]
29
29
 
30
+ if aab_path.nil? || aab_path.empty?
31
+ puts_error!('You must set aab_path or have GRADLE_AAB_OUTPUT_PATH set in lane_context.')
32
+ return
33
+ end
34
+
30
35
  return unless validate_aab!(aab_path)
31
36
 
32
37
  if(cache_path.nil?)
@@ -203,14 +208,9 @@ module Fastlane
203
208
  optional: true),
204
209
  FastlaneCore::ConfigItem.new(key: :aab_path,
205
210
  env_name: 'FL_BUNDLETOOL_AAB_PATH',
206
- description: 'Path where the aab file is',
211
+ description: 'Path where the aab file is. Falls back to lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH] when not provided',
207
212
  is_string: true,
208
- optional: false,
209
- verify_block: proc do |value|
210
- unless value && !value.empty?
211
- UI.user_error!('You must set aab_path.')
212
- end
213
- end),
213
+ optional: true),
214
214
  FastlaneCore::ConfigItem.new(key: :apk_output_path,
215
215
  env_name: 'FL_BUNDLETOOL_APK_OUTPUT_PATH',
216
216
  description: 'Path where the apk file is going to be placed',
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Bundletool
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
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.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Gonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-01 00:00:00.000000000 Z
11
+ date: 2026-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  - !ruby/object:Gem::Version
183
183
  version: '0'
184
184
  requirements: []
185
- rubygems_version: 3.2.3
185
+ rubygems_version: 3.4.1
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: Extracts a universal apk from an .aab file