fastlane-plugin-gs_deliver 0.1.38 → 0.1.39
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a18a56b1056124fb05d486304b78f9246c1307b
|
4
|
+
data.tar.gz: 2ab89257ed3e7b37ea58976b1352de6ebeacc355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9526a25bf6a69eed941867de2cbf1f25a4d81b5bff5d352aa24a867bd7be5e446642b82aa40fccee4bbd20cafdfabb6a066a6ebc8ade2dcc0367d69c93e844e2
|
7
|
+
data.tar.gz: d9c9df3954f25b3d419d02dbe431edf33e8e6772e55fbe5f7c1b0a9e4a9e80b2742c2e9fa763a34e228765a8a5f33b6431639af54609a794d9ae0fa6103cc695
|
@@ -9,12 +9,8 @@ module Fastlane
|
|
9
9
|
o
|
10
10
|
end
|
11
11
|
def self.run(params)
|
12
|
-
UI.error("GsMoveRcToBetaReviewAction start")
|
13
12
|
manager = Pilot::BuildManager.new
|
14
|
-
UI.error("GsMoveRcToBetaReviewAction second")
|
15
13
|
manager.start(params)
|
16
|
-
UI.error("params count = " + params.all_keys.length.to_s)
|
17
|
-
UI.error("GsMoveRcToBetaReviewAction third")
|
18
14
|
params[:distribute_external] = true
|
19
15
|
manager.distribute(params)
|
20
16
|
end
|
@@ -61,7 +57,129 @@ module Fastlane
|
|
61
57
|
env_name: "GS_DELIVER_YOUR_OPTION",
|
62
58
|
description: "A description of your option",
|
63
59
|
optional: false,
|
64
|
-
type: String)
|
60
|
+
type: String),
|
61
|
+
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
62
|
+
short_option: "-a",
|
63
|
+
env_name: "PILOT_APP_IDENTIFIER",
|
64
|
+
description: "The bundle identifier of the app to upload or manage testers (optional)",
|
65
|
+
optional: true,
|
66
|
+
default_value: ENV["TESTFLIGHT_APP_IDENTITIFER"] || CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
|
67
|
+
FastlaneCore::ConfigItem.new(key: :app_platform,
|
68
|
+
short_option: "-m",
|
69
|
+
env_name: "PILOT_PLATFORM",
|
70
|
+
description: "The platform to use (optional)",
|
71
|
+
optional: true,
|
72
|
+
verify_block: proc do |value|
|
73
|
+
UI.user_error!("The platform can only be ios, appletvos, or osx") unless ['ios', 'appletvos', 'osx'].include? value
|
74
|
+
end),
|
75
|
+
FastlaneCore::ConfigItem.new(key: :ipa,
|
76
|
+
short_option: "-i",
|
77
|
+
optional: true,
|
78
|
+
env_name: "PILOT_IPA",
|
79
|
+
description: "Path to the ipa file to upload",
|
80
|
+
default_value: Dir["*.ipa"].first,
|
81
|
+
verify_block: proc do |value|
|
82
|
+
UI.user_error!("Could not find ipa file at path '#{value}'") unless File.exist? value
|
83
|
+
UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with? ".ipa"
|
84
|
+
end),
|
85
|
+
FastlaneCore::ConfigItem.new(key: :skip_submission,
|
86
|
+
short_option: "-s",
|
87
|
+
env_name: "PILOT_SKIP_SUBMISSION",
|
88
|
+
description: "Skip the distributing action of pilot and only upload the ipa file",
|
89
|
+
is_string: false,
|
90
|
+
default_value: false),
|
91
|
+
FastlaneCore::ConfigItem.new(key: :skip_waiting_for_build_processing,
|
92
|
+
short_option: "-z",
|
93
|
+
env_name: "PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING",
|
94
|
+
description: "Don't wait for the build to process. If set to true, the changelog won't be set, `distribute_external` option won't work",
|
95
|
+
is_string: false,
|
96
|
+
default_value: false),
|
97
|
+
FastlaneCore::ConfigItem.new(key: :update_build_info_on_upload,
|
98
|
+
short_option: "-x",
|
99
|
+
env_name: "PILOT_UPDATE_BUILD_INFO_ON_UPLOAD",
|
100
|
+
description: "Update build info immediately after validation. This will set the changelog even if PILOT_SKIP_SUBMISSION is set, but will have no effect if PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING is set",
|
101
|
+
is_string: false,
|
102
|
+
default_value: false),
|
103
|
+
FastlaneCore::ConfigItem.new(key: :apple_id,
|
104
|
+
short_option: "-p",
|
105
|
+
env_name: "PILOT_APPLE_ID",
|
106
|
+
description: "The unique App ID provided by iTunes Connect",
|
107
|
+
optional: true,
|
108
|
+
default_value: ENV["TESTFLIGHT_APPLE_ID"]),
|
109
|
+
FastlaneCore::ConfigItem.new(key: :first_name,
|
110
|
+
short_option: "-f",
|
111
|
+
env_name: "PILOT_TESTER_FIRST_NAME",
|
112
|
+
description: "The tester's first name",
|
113
|
+
optional: true),
|
114
|
+
FastlaneCore::ConfigItem.new(key: :last_name,
|
115
|
+
short_option: "-l",
|
116
|
+
env_name: "PILOT_TESTER_LAST_NAME",
|
117
|
+
description: "The tester's last name",
|
118
|
+
optional: true),
|
119
|
+
FastlaneCore::ConfigItem.new(key: :email,
|
120
|
+
short_option: "-e",
|
121
|
+
env_name: "PILOT_TESTER_EMAIL",
|
122
|
+
description: "The tester's email",
|
123
|
+
optional: true,
|
124
|
+
verify_block: proc do |value|
|
125
|
+
UI.user_error!("Please pass a valid email address") unless value.include? "@"
|
126
|
+
end),
|
127
|
+
FastlaneCore::ConfigItem.new(key: :testers_file_path,
|
128
|
+
short_option: "-c",
|
129
|
+
env_name: "PILOT_TESTERS_FILE",
|
130
|
+
description: "Path to a CSV file of testers",
|
131
|
+
default_value: "./testers.csv",
|
132
|
+
optional: true),
|
133
|
+
FastlaneCore::ConfigItem.new(key: :wait_processing_interval,
|
134
|
+
short_option: "-k",
|
135
|
+
env_name: "PILOT_WAIT_PROCESSING_INTERVAL",
|
136
|
+
description: "Interval in seconds to wait for iTunes Connect processing",
|
137
|
+
default_value: 30,
|
138
|
+
type: Integer,
|
139
|
+
verify_block: proc do |value|
|
140
|
+
UI.user_error!("Please enter a valid positive number of seconds") unless value.to_i > 0
|
141
|
+
end),
|
142
|
+
FastlaneCore::ConfigItem.new(key: :team_id,
|
143
|
+
short_option: "-q",
|
144
|
+
env_name: "PILOT_TEAM_ID",
|
145
|
+
description: "The ID of your iTunes Connect team if you're in multiple teams",
|
146
|
+
optional: true,
|
147
|
+
is_string: false, # as we also allow integers, which we convert to strings anyway
|
148
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
|
149
|
+
verify_block: proc do |value|
|
150
|
+
ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
|
151
|
+
end),
|
152
|
+
FastlaneCore::ConfigItem.new(key: :team_name,
|
153
|
+
short_option: "-r",
|
154
|
+
env_name: "PILOT_TEAM_NAME",
|
155
|
+
description: "The name of your iTunes Connect team if you're in multiple teams",
|
156
|
+
optional: true,
|
157
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|
158
|
+
verify_block: proc do |value|
|
159
|
+
ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
|
160
|
+
end),
|
161
|
+
FastlaneCore::ConfigItem.new(key: :dev_portal_team_id,
|
162
|
+
env_name: "PILOT_DEV_PORTAL_TEAM_ID",
|
163
|
+
description: "The short ID of your team in the developer portal, if you're in multiple teams. Different from your iTC team ID!",
|
164
|
+
optional: true,
|
165
|
+
is_string: true,
|
166
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
|
167
|
+
verify_block: proc do |value|
|
168
|
+
ENV["FASTLANE_TEAM_ID"] = value.to_s
|
169
|
+
end),
|
170
|
+
FastlaneCore::ConfigItem.new(key: :itc_provider,
|
171
|
+
env_name: "PILOT_ITC_PROVIDER",
|
172
|
+
description: "The provider short name to be used with the iTMSTransporter to identify your team",
|
173
|
+
optional: true),
|
174
|
+
FastlaneCore::ConfigItem.new(key: :groups,
|
175
|
+
short_option: "-g",
|
176
|
+
env_name: "PILOT_GROUPS",
|
177
|
+
description: "Associate tester to one group or more by group name / group id. E.g. '-g \"Team 1\",\"Team 2\"'",
|
178
|
+
optional: true,
|
179
|
+
type: Array,
|
180
|
+
verify_block: proc do |value|
|
181
|
+
UI.user_error!("Could not evaluate array from '#{value}'") unless value.kind_of?(Array)
|
182
|
+
end)
|
65
183
|
]
|
66
184
|
end
|
67
185
|
|