fastlane-plugin-emerge 0.4.0 → 0.4.1

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: 47c07cc0fbda1c835f0ae0f3b1719aea68de191a28d614d4d2552835a611c90c
4
- data.tar.gz: 13b5463f6997f22e1ed988929b3a3a7c40913ee6f91725a7bef0dbafd2cc03fe
3
+ metadata.gz: 06cb7ccc63c9a9b947b50d3e892d8f7a9d80ae52227b1eb2ec3686859e349d87
4
+ data.tar.gz: 1d78c2cfff077640ed1c7024596cbf115361392bb620edf9edc9fdd15c1da05f
5
5
  SHA512:
6
- metadata.gz: 37f44ee6483d12df8a2e0a7493f3955cce64852aa0aad5465a3036c9c3deb7784c2e171359ccebe2d249e0911c542cfa05ff96ef246228ea18afe965b63cc251
7
- data.tar.gz: fd22b473450105e6e8e736f4f5d4db31fbcb3b71c64ace912f99b7b929f26d18fad1230cff744461afcdf52e8c36c501ca79388329c8dc4fd512dd8dfdf69122
6
+ metadata.gz: b219dda48c6c219179eec0691a6b21615eb68faf76e972e634ce15fb5c50c9d54c9a242224590409206a03177afbde4f50bbfaa2761c693832b03d108536e050
7
+ data.tar.gz: 655f1a31d098222c4e2248545c702a68680d58f2deffa9eaaeb7b0353c4e3c11a9ed1e530f41a56baec9c1494261a7d0a69f54aeb9e6f9c98394af5506a93c8a
@@ -38,6 +38,13 @@ module Fastlane
38
38
  dsym_folder = "#{d}/archive.xcarchive/dSYMs/"
39
39
  FileUtils.mkdir_p application_folder
40
40
  FileUtils.mkdir_p dsym_folder
41
+ if params[:linkmaps] && params[:linkmaps].length > 0
42
+ linkmap_folder = "#{d}/archive.xcarchive/Linkmaps/"
43
+ FileUtils.mkdir_p(linkmap_folder)
44
+ params[:linkmaps].each do |l|
45
+ FileUtils.cp(l, linkmap_folder)
46
+ end
47
+ end
41
48
  FileUtils.cp_r(file_path, application_folder)
42
49
  copy_dsyms("#{absolute_path.dirname}/*.dsym", dsym_folder)
43
50
  copy_dsyms("#{absolute_path.dirname}/*/*.dsym", dsym_folder)
@@ -52,12 +59,21 @@ module Fastlane
52
59
  end
53
60
  elsif File.extname(file_path) == '.xcarchive'
54
61
  zip_path = file_path + ".zip"
62
+ if params[:linkmaps] && params[:linkmaps].length > 0
63
+ linkmap_folder = "#{file_path}/Linkmaps/"
64
+ FileUtils.mkdir_p(linkmap_folder)
65
+ params[:linkmaps].each do |l|
66
+ FileUtils.cp(l, linkmap_folder)
67
+ end
68
+ end
55
69
  Actions::ZipAction.run(
56
70
  path: file_path,
57
71
  output_path: zip_path,
58
72
  exclude: [],
59
73
  include: [])
60
74
  file_path = zip_path
75
+ elsif File.extname(file_path) == '.zip' && params[:linkmaps] && params[:linkmaps].length > 0
76
+ UI.error("Provided zipped archive and linkmaps, linkmaps will not be added to zip.")
61
77
  elsif !File.extname(file_path) == '.zip'
62
78
  UI.error("Invalid input file")
63
79
  return
@@ -145,6 +161,10 @@ module Fastlane
145
161
  description: "Path to the zipped xcarchive or app to upload",
146
162
  optional: true,
147
163
  type: String),
164
+ FastlaneCore::ConfigItem.new(key: :linkmaps,
165
+ description: "List of paths to linkmaps",
166
+ optional: true,
167
+ type: Array),
148
168
  FastlaneCore::ConfigItem.new(key: :pr_number,
149
169
  description: "The PR number that triggered this upload",
150
170
  optional: true,
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Emerge
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-emerge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emerge Tools, Inc
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-15 00:00:00.000000000 Z
11
+ date: 2022-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -150,8 +150,8 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: 2.170.0
153
- description:
154
- email:
153
+ description:
154
+ email:
155
155
  executables: []
156
156
  extensions: []
157
157
  extra_rdoc_files: []
@@ -167,7 +167,7 @@ homepage: https://github.com/EmergeTools/fastlane-plugin-emerge
167
167
  licenses:
168
168
  - MIT
169
169
  metadata: {}
170
- post_install_message:
170
+ post_install_message:
171
171
  rdoc_options: []
172
172
  require_paths:
173
173
  - lib
@@ -182,8 +182,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  - !ruby/object:Gem::Version
183
183
  version: '0'
184
184
  requirements: []
185
- rubygems_version: 3.0.3
186
- signing_key:
185
+ rubygems_version: 3.2.3
186
+ signing_key:
187
187
  specification_version: 4
188
188
  summary: Fastlane plugin for Emerge
189
189
  test_files: []