fastlane-plugin-appcenter 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/appcenter/actions/appcenter_codepush_release_react.rb +28 -1
- data/lib/fastlane/plugin/appcenter/actions/appcenter_upload_action.rb +6 -1
- data/lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb +1 -0
- data/lib/fastlane/plugin/appcenter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 404a5a724bd71f78a4e18b16208fb960f4d1c6bdc30eeba699158b811fd86d09
|
4
|
+
data.tar.gz: aa973dd28335221712ee40159b7133cf10e4e865b95f87a3d0d96057d4dbc924
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4686223db2d015a7de084dda5e87012374f788f280d98fdfd977e99b664388bbf38b256418b7a0f1fb6cefadec8133b221b01510fa6ada6bae6ac859cd778127
|
7
|
+
data.tar.gz: 133e589903a76545c852bc1c18b7ce51664882edce0f2d8bbb3048bac51af764280a7a0124947878f63df525063ed39e87e9b4e542bc63e68092e12c6a89dbe4
|
@@ -30,6 +30,9 @@ module Fastlane
|
|
30
30
|
private_key_path = params[:private_key_path]
|
31
31
|
dry_run = params[:dry_run]
|
32
32
|
use_local_appcenter_cli = params[:use_local_appcenter_cli]
|
33
|
+
plist_file = params[:plist_file]
|
34
|
+
xcode_project_file = params[:xcode_project_file]
|
35
|
+
use_hermes = params[:use_hermes]
|
33
36
|
|
34
37
|
base_executable = "appcenter "
|
35
38
|
|
@@ -66,6 +69,15 @@ module Fastlane
|
|
66
69
|
if private_key_path
|
67
70
|
command += "--private-key-path #{private_key_path} "
|
68
71
|
end
|
72
|
+
if plist_file
|
73
|
+
command += "--plist-file #{plist_file} "
|
74
|
+
end
|
75
|
+
if xcode_project_file
|
76
|
+
command += "--xcode-project-file #{xcode_project_file} "
|
77
|
+
end
|
78
|
+
unless use_hermes.nil?
|
79
|
+
command += "--use-hermes #{use_hermes} "
|
80
|
+
end
|
69
81
|
if dry_run
|
70
82
|
UI.message("Dry run!".red + " Would have run: " + command + "\n")
|
71
83
|
else
|
@@ -163,11 +175,26 @@ module Fastlane
|
|
163
175
|
optional: true,
|
164
176
|
default_value: false,
|
165
177
|
description: "When true, the appcenter cli installed in the project directory is used"),
|
178
|
+
FastlaneCore::ConfigItem.new(key: :plist_file,
|
179
|
+
type: String,
|
180
|
+
env_name: "APPCENTER_CODEPUSH_PLIST_FILE",
|
181
|
+
optional: true,
|
182
|
+
description: "Path to the Info.plist"),
|
183
|
+
FastlaneCore::ConfigItem.new(key: :xcode_project_file,
|
184
|
+
type: String,
|
185
|
+
env_name: "APPCENTER_CODEPUSH_XCODE_PROJECT_FILE",
|
186
|
+
optional: true,
|
187
|
+
description: "Path to the .pbxproj file"),
|
166
188
|
FastlaneCore::ConfigItem.new(key: :private_key_path,
|
167
189
|
type: String,
|
168
190
|
env_name: "APPCENTER_CODEPUSH_PRIVATE_KEY_PATH",
|
169
191
|
optional: true,
|
170
|
-
description: "Path to private key that will be used for signing bundles")
|
192
|
+
description: "Path to private key that will be used for signing bundles"),
|
193
|
+
FastlaneCore::ConfigItem.new(key: :use_hermes,
|
194
|
+
type: Boolean,
|
195
|
+
env_name: "APPCENTER_CODEPUSH_USE_HERMES",
|
196
|
+
optional: true,
|
197
|
+
description: "Enable hermes and bypass automatic checks")
|
171
198
|
]
|
172
199
|
end
|
173
200
|
|
@@ -297,7 +297,7 @@ module Fastlane
|
|
297
297
|
return true
|
298
298
|
end
|
299
299
|
rescue URI::InvalidURIError
|
300
|
-
UI.user_error!("Provided app_name: '#{app_name}' is not in a valid format. Please ensure no special characters or spaces
|
300
|
+
UI.user_error!("Provided owner_name: '#{owner_name}' or app_name: '#{app_name}' is not in a valid format. Please ensure no special characters or spaces.")
|
301
301
|
return false
|
302
302
|
end
|
303
303
|
|
@@ -327,6 +327,11 @@ module Fastlane
|
|
327
327
|
app_name: params[:app_name]
|
328
328
|
)
|
329
329
|
|
330
|
+
unless app_distribution_groups.is_a?(Array)
|
331
|
+
UI.error("Failed to fetch distribution groups for app #{params[:app_name]}.")
|
332
|
+
return
|
333
|
+
end
|
334
|
+
|
330
335
|
group_names = app_distribution_groups.map { |g| g['name'] }
|
331
336
|
destination_names = params[:destinations].split(',').map(&:strip)
|
332
337
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-appcenter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|