fastlane-plugin-emerge 0.10.1 → 0.10.3

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: 02057e8809e34ac67fe9c522e7addd6fc598f94fff4bbe7dd31ba3196b1bde88
4
- data.tar.gz: 2de7d0f4bac7fc5070f9b40c02c0bd32c8b02cb3034ff40e43515ba2e3474464
3
+ metadata.gz: 1161add2ba3f228582fda18fc0b5168ccfd3e81272774546d490eaf17a508659
4
+ data.tar.gz: eef51649fc4f5ce59c3df1992b0164af8bd80d3d3ea85f2babb146f9d25aead3
5
5
  SHA512:
6
- metadata.gz: 89ba8a527a601d2b89fd022a195bdba4cc2d7bdc6328e4f99acc723c33f0eca0e03874b53c0aa2cf3f3603d5c758abbd0c9ef95d93613698815bb8ba1e346789
7
- data.tar.gz: 3a962e586922ec8bae718875b47a8c37d4630838f5999311df4085659d26aa18434210b38fc8ded955870cdae3c96a4ddfa3a976d9f45339c033430453e90d78
6
+ metadata.gz: 896b6b3360371b91cb02ed7d6a3d978afd0fff505ed0c53a8eb5afc3ba725a64c3e209ffeef42e24d046f7d343efbbd309a209abf14fd48cc0ccbb13ebdfa1a5
7
+ data.tar.gz: 81bcd3b3df28794e127ad26c4002c2da9e2c62cc687f48747bbdae6126ab05ddf9def2743ac85df85c122a22945c5961e256a1ee4b4b2d01cfd0c227669e63a8
@@ -31,7 +31,7 @@ module Fastlane
31
31
 
32
32
  if file_path.nil? || !File.exist?(file_path)
33
33
  UI.error("Invalid input file")
34
- return
34
+ return false
35
35
  end
36
36
  extension = File.extname(file_path)
37
37
 
@@ -59,6 +59,7 @@ module Fastlane
59
59
  file_path = "#{absolute_path.dirname}/archive.xcarchive.zip"
60
60
  ZipAction.run(
61
61
  path: "#{d}/archive.xcarchive",
62
+ symlinks: true,
62
63
  output_path: file_path,
63
64
  exclude: [],
64
65
  include: []
@@ -77,6 +78,7 @@ module Fastlane
77
78
  Helper::EmergeHelper.copy_config(config_path, file_path)
78
79
  Actions::ZipAction.run(
79
80
  path: file_path,
81
+ symlinks: true,
80
82
  output_path: zip_path,
81
83
  exclude: [],
82
84
  include: []
@@ -86,7 +88,7 @@ module Fastlane
86
88
  UI.error("Provided #{extension == '.zip' ? 'zipped archive' : 'ipa'} and linkmaps, linkmaps will not be added to upload.")
87
89
  elsif extension != '.zip' && extension != '.ipa'
88
90
  UI.error("Invalid input file")
89
- return
91
+ return false
90
92
  end
91
93
 
92
94
  params = {
@@ -98,10 +100,12 @@ module Fastlane
98
100
  gitlabProjectId: gitlab_project_id,
99
101
  orderFileVersion: order_file_version,
100
102
  appIdSuffix: params[:app_id_suffix],
103
+ releaseNotes: params[:release_notes],
101
104
  tag: tag || "default"
102
105
  }
103
106
  upload_id = Helper::EmergeHelper.perform_upload(api_token, params, file_path)
104
107
  UI.success("🎉 Your app is processing, you can find the results at https://emergetools.com/build/#{upload_id}")
108
+ upload_id
105
109
  end
106
110
 
107
111
  def self.copy_dsyms(from, to)
@@ -192,6 +196,10 @@ module Fastlane
192
196
  FastlaneCore::ConfigItem.new(key: :app_id_suffix,
193
197
  description: "A suffix to append to the application ID to differentiate between different builds of the same app",
194
198
  optional: true,
199
+ type: String),
200
+ FastlaneCore::ConfigItem.new(key: :release_notes,
201
+ description: "A markdown string with release notes for the upload",
202
+ optional: true,
195
203
  type: String)
196
204
  ]
197
205
  end
@@ -42,6 +42,7 @@ module Fastlane
42
42
  zip_file_path = "#{temp_dir}/build/#{archive_name}.xcarchive.zip"
43
43
  ZipAction.run(
44
44
  path: archive_path,
45
+ symlinks: true,
45
46
  output_path: zip_file_path,
46
47
  exclude: [],
47
48
  include: []
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Emerge
3
- VERSION = "0.10.1"
3
+ VERSION = "0.10.3"
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.10.1
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emerge Tools, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-16 00:00:00.000000000 Z
11
+ date: 2024-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday