fastlane-plugin-apadmi_grout 2.3.2 → 2.4.0

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: 6b8c872e4f4905d3774429543e1d27a947e0a8d1932bc4284a2c779e4895e2dd
4
- data.tar.gz: ca1558676102c0a06065fe46d9215fd231875dd2c0e0fc03043a3085f460d2f4
3
+ metadata.gz: 776e97752fbc36aa5a41cf966536b83f2f0106c149554b69a71cd1dd8618f994
4
+ data.tar.gz: 79994e13a8ac5e19ebc2c2cc7ef54ee1ce791cfe7314dd5356245fd7baa6eed1
5
5
  SHA512:
6
- metadata.gz: efa9e272a5e4e023f446cace85440596c7fea8f50487d750dbe08cb0d412c54e721b770592313e0be7c9691a49eb5c2e5f7aa127127effb78b0c509a2e7c4ba6
7
- data.tar.gz: 735fce7da1c88fe3967bf68020dd24b4eb97aa8139962297d133125e3db40e558f3401b0c4c9fe4af32de613e8c7c0c4fd3d573e2f811566039743238c5b7a09
6
+ metadata.gz: 02c9b2f34592546df0671485c2c32955f9f5992e426283cfe26d04cfcf1d85af50428228dfe44e3153229f6b42e52f210cbe85dd5a8d7aa4dfae288e1d29830a
7
+ data.tar.gz: 574511769eb9ff5b14740b794572525d285846dbc14eaa44971561e778e7641f98a3e9e0617af55066b172c938c97ab2209be97ce8f673b233aa6978e6ba204d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Fastlane Plugin Changelog
2
2
 
3
+ ## [2.4.0] - 2023-09-04
4
+ * Copy the android mapping files as well as binaries after a build.
5
+ * Bump core library version dependency
6
+
3
7
  ## [2.3.2] - 2023-04-06
4
8
  * Add build variant suffix to android artifact names to reduce the chance of conflicting file names.
5
9
  * Bump core library version dependency
@@ -9,7 +9,7 @@ require_relative "../utils/fastlane_logger"
9
9
  # Be very very careful before making any changes.
10
10
  module Fastlane
11
11
  module Actions
12
- # Build an IPA binary
12
+ # Build an APK or AAB binary
13
13
  class BuildApkOrAabAction < Action
14
14
  def self.run(params)
15
15
  logger = FastLane::FastlaneLogger.new
@@ -47,6 +47,25 @@ module Fastlane
47
47
  File.rename(artifact, new_artifact_path)
48
48
  logger.success("Generated #{output_name} in #{params[:output_directory]}")
49
49
 
50
+ mapping_path = lane_context[SharedValues::GRADLE_MAPPING_TXT_OUTPUT_PATH]
51
+ # rubocop:disable Style/StringConcatenation
52
+ mapping_filename = Apadmi::Grout::FilenameUtils.binary_output_filename(
53
+ client_name: params[:client_name],
54
+ product_name: params[:product_name],
55
+ platform: "Android",
56
+ version: params[:version],
57
+ build_number: params[:build_number],
58
+ suffix: "#{variant}-mapping"
59
+ ) + ".txt"
60
+ # rubocop:enable Style/StringConcatenation
61
+ new_mapping_path = "#{params[:output_directory]}/#{mapping_filename}"
62
+ if File.exist?(mapping_path)
63
+ File.rename(mapping_path, new_mapping_path)
64
+ logger.success("Generated #{mapping_filename} in #{params[:output_directory]}")
65
+ else
66
+ logger.message("No mapping file found")
67
+ end
68
+
50
69
  new_artifact_path
51
70
  end
52
71
 
@@ -68,11 +87,11 @@ module Fastlane
68
87
  end
69
88
 
70
89
  def self.description
71
- "Builds an APK or AAB depeding on the command"
90
+ "Builds an APK or AAB depending on the command"
72
91
  end
73
92
 
74
93
  def self.authors
75
- ["samdc@apadmi.com"]
94
+ ["samdc@apadmi.com", "jamesr@apadmi.com"]
76
95
  end
77
96
 
78
97
  def self.fastlane_signing_properties
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fastlane
4
4
  module ApadmiGrout
5
- VERSION = "2.3.2"
5
+ VERSION = "2.4.0"
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.2
4
+ version: 2.4.0
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-06 00:00:00.000000000 Z
11
+ date: 2023-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apadmi_grout