fastlane-plugin-apadmi_grout 2.3.0 → 2.3.2

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: eec6506d82fe1a4d31c040fc4166d16859199b862110ea7e97756f423c0ce25b
4
- data.tar.gz: faec2cc204d4e058a9344edbf6a2ee26e6eae5c811cc78eeade7dbb5a8f863ab
3
+ metadata.gz: 6b8c872e4f4905d3774429543e1d27a947e0a8d1932bc4284a2c779e4895e2dd
4
+ data.tar.gz: ca1558676102c0a06065fe46d9215fd231875dd2c0e0fc03043a3085f460d2f4
5
5
  SHA512:
6
- metadata.gz: 24930c1d4a2c7f796e15a0db8a41b016edd99692bba9ff15a64ffb3c912a9c80d9afbd75a7fc956b8d14ca063047ad8b247e48fc949457b609ea06ad4c229138
7
- data.tar.gz: 5e202e3b6ccfa898fe6fbd0cbae271723356b37aac4eb2ec30c645013e1ca19228cae4e3644b87ae05f19362ae9d36cea27db5885319461d478cc75112bbb252
6
+ metadata.gz: efa9e272a5e4e023f446cace85440596c7fea8f50487d750dbe08cb0d412c54e721b770592313e0be7c9691a49eb5c2e5f7aa127127effb78b0c509a2e7c4ba6
7
+ data.tar.gz: 735fce7da1c88fe3967bf68020dd24b4eb97aa8139962297d133125e3db40e558f3401b0c4c9fe4af32de613e8c7c0c4fd3d573e2f811566039743238c5b7a09
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Fastlane Plugin Changelog
2
2
 
3
+ ## [2.3.2] - 2023-04-06
4
+ * Add build variant suffix to android artifact names to reduce the chance of conflicting file names.
5
+ * Bump core library version dependency
6
+
7
+ ## [2.3.1] - 2023-04-05
8
+ * Fix issue with apk generation where path was returned incorrectly
9
+ * Bump core library version dependency
10
+
3
11
  ## [2.3.0] - 2023-04-03
4
12
  * Added utility for building APKs and AABs through fastlane.
5
13
 
@@ -14,13 +14,15 @@ module Fastlane
14
14
  def self.run(params)
15
15
  logger = FastLane::FastlaneLogger.new
16
16
 
17
- build_type = Apadmi::Grout::CommandParsingUtils.determining_build_type(params[:gradle_command])
17
+ build_type = Apadmi::Grout::CommandParsingUtils.determine_build_type(params[:gradle_command])
18
+ variant = Apadmi::Grout::CommandParsingUtils.determine_variant(params[:gradle_command])
18
19
  output_name = params[:output_name] || Apadmi::Grout::FilenameUtils.binary_output_filename(
19
20
  client_name: params[:client_name],
20
21
  product_name: params[:product_name],
21
22
  platform: "Android",
22
23
  version: params[:version],
23
- build_number: params[:build_number]
24
+ build_number: params[:build_number],
25
+ suffix: variant
24
26
  ) + ".#{build_type}"
25
27
 
26
28
  logger.message("Generating #{build_type}: #{output_name}")
@@ -41,10 +43,11 @@ module Fastlane
41
43
  raise "Something terrible has happened, could not find artifact path"
42
44
  end
43
45
 
44
- File.rename(artifact, "#{params[:output_directory]}/#{output_name}")
46
+ new_artifact_path = "#{params[:output_directory]}/#{output_name}"
47
+ File.rename(artifact, new_artifact_path)
45
48
  logger.success("Generated #{output_name} in #{params[:output_directory]}")
46
49
 
47
- artifact
50
+ new_artifact_path
48
51
  end
49
52
 
50
53
  def self.config_properties(options)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fastlane
4
4
  module ApadmiGrout
5
- VERSION = "2.3.0"
5
+ VERSION = "2.3.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-apadmi_grout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apadmi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-03 00:00:00.000000000 Z
11
+ date: 2023-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apadmi_grout