fastlane 2.185.1 → 2.186.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +100 -100
- data/fastlane/lib/fastlane/actions/deploygate.rb +1 -2
- data/fastlane/lib/fastlane/actions/download_app_privacy_details_from_app_store.rb +1 -1
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +3 -4
- data/fastlane/lib/fastlane/actions/dsym_zip.rb +1 -1
- data/fastlane/lib/fastlane/actions/ensure_git_branch.rb +0 -1
- data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +3 -4
- data/fastlane/lib/fastlane/actions/ensure_no_debug_code.rb +3 -5
- data/fastlane/lib/fastlane/actions/ensure_xcode_version.rb +1 -2
- data/fastlane/lib/fastlane/actions/environment_variable.rb +13 -21
- data/fastlane/lib/fastlane/actions/erb.rb +2 -5
- data/fastlane/lib/fastlane/actions/get_build_number_repository.rb +1 -1
- data/fastlane/lib/fastlane/actions/get_ipa_info_plist_value.rb +0 -1
- data/fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb +29 -34
- data/fastlane/lib/fastlane/actions/get_push_certificate.rb +1 -1
- data/fastlane/lib/fastlane/actions/git_add.rb +5 -10
- data/fastlane/lib/fastlane/actions/git_commit.rb +2 -6
- data/fastlane/lib/fastlane/actions/git_remote_branch.rb +57 -0
- data/fastlane/lib/fastlane/actions/github_api.rb +2 -5
- data/fastlane/lib/fastlane/actions/gradle.rb +11 -19
- data/fastlane/lib/fastlane/actions/hg_commit_version_bump.rb +1 -1
- data/fastlane/lib/fastlane/actions/hg_push.rb +1 -1
- data/fastlane/lib/fastlane/actions/hipchat.rb +4 -5
- data/fastlane/lib/fastlane/actions/hockey.rb +5 -12
- data/fastlane/lib/fastlane/actions/ifttt.rb +3 -6
- data/fastlane/lib/fastlane/actions/import_from_git.rb +2 -4
- data/fastlane/lib/fastlane/actions/increment_build_number.rb +1 -2
- data/fastlane/lib/fastlane/actions/install_on_device.rb +3 -6
- data/fastlane/lib/fastlane/actions/installr.rb +22 -25
- data/fastlane/lib/fastlane/actions/ipa.rb +2 -2
- data/fastlane/lib/fastlane/actions/jazzy.rb +8 -14
- data/fastlane/lib/fastlane/{actions/.git_commit.rb.swp → helper/.git_helper.rb.swp} +0 -0
- data/fastlane/lib/fastlane/helper/git_helper.rb +17 -5
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +1 -1
- data/fastlane/swift/Fastlane.swift +49 -32
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
- data/fastlane/swift/formatting/Brewfile.lock.json +11 -11
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +13 -0
- data/match/lib/match/importer.rb +3 -0
- data/match/lib/match/nuke.rb +2 -3
- data/pilot/lib/pilot/build_manager.rb +0 -3
- data/pilot/lib/pilot/manager.rb +4 -1
- data/snapshot/lib/assets/SnapshotHelper.swift +1 -1
- data/spaceship/lib/spaceship/connect_api/api_client.rb +30 -5
- data/spaceship/lib/spaceship/connect_api/models/beta_tester.rb +3 -1
- data/spaceship/lib/spaceship/connect_api/models/build.rb +3 -1
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +13 -0
- metadata +20 -19
@@ -34,20 +34,17 @@ module Fastlane
|
|
34
34
|
short_option: "-T",
|
35
35
|
env_name: "FL_ERB_SRC",
|
36
36
|
description: "ERB Template File",
|
37
|
-
optional: false,
|
38
|
-
is_string: true),
|
37
|
+
optional: false),
|
39
38
|
FastlaneCore::ConfigItem.new(key: :destination,
|
40
39
|
short_option: "-D",
|
41
40
|
env_name: "FL_ERB_DST",
|
42
41
|
description: "Destination file",
|
43
|
-
optional: true,
|
44
|
-
is_string: true),
|
42
|
+
optional: true),
|
45
43
|
FastlaneCore::ConfigItem.new(key: :placeholders,
|
46
44
|
short_option: "-p",
|
47
45
|
env_name: "FL_ERB_PLACEHOLDERS",
|
48
46
|
description: "Placeholders given as a hash",
|
49
47
|
default_value: {},
|
50
|
-
is_string: false,
|
51
48
|
type: Hash),
|
52
49
|
FastlaneCore::ConfigItem.new(key: :trim_mode,
|
53
50
|
short_option: "-t",
|
@@ -40,7 +40,6 @@ module Fastlane
|
|
40
40
|
FastlaneCore::ConfigItem.new(key: :ipa,
|
41
41
|
env_name: "FL_GET_IPA_INFO_PLIST_VALUE_IPA",
|
42
42
|
description: "Path to IPA",
|
43
|
-
is_string: true,
|
44
43
|
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
|
45
44
|
default_value_dynamic: true)
|
46
45
|
]
|
@@ -73,40 +73,35 @@ module Fastlane
|
|
73
73
|
|
74
74
|
def self.available_options
|
75
75
|
[
|
76
|
-
FastlaneCore::ConfigItem.new(
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
UI.user_error!("Could not parse service account json: JSON::ParseError")
|
106
|
-
end
|
107
|
-
end
|
108
|
-
)
|
109
|
-
|
76
|
+
FastlaneCore::ConfigItem.new(key: :json_key,
|
77
|
+
env_name: "SUPPLY_JSON_KEY",
|
78
|
+
short_option: "-j",
|
79
|
+
conflicting_options: [:json_key_data],
|
80
|
+
optional: true, # optional until it is possible specify either json_key OR json_key_data are required
|
81
|
+
description: "The path to a file containing service account JSON, used to authenticate with Google",
|
82
|
+
code_gen_sensitive: true,
|
83
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:json_key_file),
|
84
|
+
default_value_dynamic: true,
|
85
|
+
verify_block: proc do |value|
|
86
|
+
UI.user_error!("Could not find service account json file at path '#{File.expand_path(value)}'") unless File.exist?(File.expand_path(value))
|
87
|
+
UI.user_error!("'#{value}' doesn't seem to be a JSON file") unless FastlaneCore::Helper.json_file?(File.expand_path(value))
|
88
|
+
end),
|
89
|
+
FastlaneCore::ConfigItem.new(key: :json_key_data,
|
90
|
+
env_name: "SUPPLY_JSON_KEY_DATA",
|
91
|
+
short_option: "-c",
|
92
|
+
conflicting_options: [:json_key],
|
93
|
+
optional: true,
|
94
|
+
description: "The raw service account JSON data used to authenticate with Google",
|
95
|
+
code_gen_sensitive: true,
|
96
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:json_key_data_raw),
|
97
|
+
default_value_dynamic: true,
|
98
|
+
verify_block: proc do |value|
|
99
|
+
begin
|
100
|
+
JSON.parse(value)
|
101
|
+
rescue JSON::ParserError
|
102
|
+
UI.user_error!("Could not parse service account json: JSON::ParseError")
|
103
|
+
end
|
104
|
+
end)
|
110
105
|
]
|
111
106
|
end
|
112
107
|
|
@@ -8,13 +8,9 @@ module Fastlane
|
|
8
8
|
paths = params[:pathspec]
|
9
9
|
success_message = "Successfully added from \"#{paths}\" 💾."
|
10
10
|
elsif params[:path]
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
paths = params[:path].map do |p|
|
15
|
-
shell_escape(p, should_escape)
|
16
|
-
end.join(' ')
|
17
|
-
end
|
11
|
+
paths = params[:path].map do |p|
|
12
|
+
shell_escape(p, should_escape)
|
13
|
+
end.join(' ')
|
18
14
|
success_message = "Successfully added \"#{paths}\" 💾."
|
19
15
|
else
|
20
16
|
paths = "."
|
@@ -43,18 +39,17 @@ module Fastlane
|
|
43
39
|
[
|
44
40
|
FastlaneCore::ConfigItem.new(key: :path,
|
45
41
|
description: "The file(s) and path(s) you want to add",
|
46
|
-
|
42
|
+
type: Array,
|
47
43
|
conflicting_options: [:pathspec],
|
48
44
|
optional: true),
|
49
45
|
FastlaneCore::ConfigItem.new(key: :shell_escape,
|
50
46
|
description: "Shell escapes paths (set to false if using wildcards or manually escaping spaces in :path)",
|
51
|
-
|
47
|
+
type: Boolean,
|
52
48
|
default_value: true,
|
53
49
|
optional: true),
|
54
50
|
# Deprecated
|
55
51
|
FastlaneCore::ConfigItem.new(key: :pathspec,
|
56
52
|
description: "The pathspec you want to add files from",
|
57
|
-
is_string: true,
|
58
53
|
conflicting_options: [:path],
|
59
54
|
optional: true,
|
60
55
|
deprecated: "Use `--path` instead")
|
@@ -2,11 +2,7 @@ module Fastlane
|
|
2
2
|
module Actions
|
3
3
|
class GitCommitAction < Action
|
4
4
|
def self.run(params)
|
5
|
-
|
6
|
-
paths = params[:path].shellescape
|
7
|
-
else
|
8
|
-
paths = params[:path].map(&:shellescape).join(' ')
|
9
|
-
end
|
5
|
+
paths = params[:path].map(&:shellescape).join(' ')
|
10
6
|
|
11
7
|
skip_git_hooks = params[:skip_git_hooks] ? '--no-verify' : ''
|
12
8
|
|
@@ -38,7 +34,7 @@ module Fastlane
|
|
38
34
|
[
|
39
35
|
FastlaneCore::ConfigItem.new(key: :path,
|
40
36
|
description: "The file(s) or directory(ies) you want to commit. You can pass an array of multiple file-paths or fileglobs \"*.txt\" to commit all matching files. The files already staged but not specified and untracked files won't be committed",
|
41
|
-
|
37
|
+
type: Array),
|
42
38
|
FastlaneCore::ConfigItem.new(key: :message,
|
43
39
|
description: "The commit message that should be used"),
|
44
40
|
FastlaneCore::ConfigItem.new(key: :skip_git_hooks,
|
@@ -0,0 +1,57 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class GitRemoteBranchAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
Actions.git_remote_branch_name(params[:remote_name])
|
6
|
+
end
|
7
|
+
|
8
|
+
#####################################################
|
9
|
+
# @!group Documentation
|
10
|
+
#####################################################
|
11
|
+
|
12
|
+
def self.description
|
13
|
+
"Returns the name of the current git remote default branch"
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.details
|
17
|
+
"If no default remote branch could be found, this action will return nil. This is a wrapper for the internal action Actions.git_default_remote_branch_name"
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.available_options
|
21
|
+
[
|
22
|
+
FastlaneCore::ConfigItem.new(key: :remote_name,
|
23
|
+
env_name: "FL_REMOTE_REPOSITORY_NAME",
|
24
|
+
description: "The remote repository to check",
|
25
|
+
optional: true)
|
26
|
+
]
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.output
|
30
|
+
[]
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.authors
|
34
|
+
["SeanMcNeil"]
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.is_supported?(platform)
|
38
|
+
true
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.example_code
|
42
|
+
[
|
43
|
+
'git_remote_branch # Query git for first available remote name',
|
44
|
+
'git_remote_branch(remote_name:"upstream") # Provide a remote name'
|
45
|
+
]
|
46
|
+
end
|
47
|
+
|
48
|
+
def self.return_type
|
49
|
+
:string
|
50
|
+
end
|
51
|
+
|
52
|
+
def self.category
|
53
|
+
:source_control
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -92,7 +92,6 @@ module Fastlane
|
|
92
92
|
conflicting_options: [:api_bearer],
|
93
93
|
sensitive: true,
|
94
94
|
code_gen_sensitive: true,
|
95
|
-
is_string: true,
|
96
95
|
default_value: ENV["GITHUB_API_TOKEN"],
|
97
96
|
default_value_dynamic: true,
|
98
97
|
optional: true),
|
@@ -100,7 +99,6 @@ module Fastlane
|
|
100
99
|
env_name: "FL_GITHUB_API_BEARER",
|
101
100
|
sensitive: true,
|
102
101
|
code_gen_sensitive: true,
|
103
|
-
is_string: true,
|
104
102
|
description: "Use a Bearer authorization token. Usually generated by Github Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable",
|
105
103
|
conflicting_options: [:api_token],
|
106
104
|
optional: true,
|
@@ -118,13 +116,12 @@ module Fastlane
|
|
118
116
|
FastlaneCore::ConfigItem.new(key: :body,
|
119
117
|
env_name: "FL_GITHUB_API_REQUEST_BODY",
|
120
118
|
description: "The request body in JSON or hash format",
|
121
|
-
|
119
|
+
skip_type_validation: true, # allow Hash, Array
|
122
120
|
default_value: {},
|
123
121
|
optional: true),
|
124
122
|
FastlaneCore::ConfigItem.new(key: :raw_body,
|
125
123
|
env_name: "FL_GITHUB_API_REQUEST_RAW_BODY",
|
126
124
|
description: "The request body taken verbatim instead of as JSON, useful for file uploads",
|
127
|
-
is_string: true,
|
128
125
|
optional: true),
|
129
126
|
FastlaneCore::ConfigItem.new(key: :path,
|
130
127
|
env_name: "FL_GITHUB_API_PATH",
|
@@ -139,7 +136,7 @@ module Fastlane
|
|
139
136
|
end),
|
140
137
|
FastlaneCore::ConfigItem.new(key: :error_handlers,
|
141
138
|
description: "Optional error handling hash based on status code, or pass '*' to handle all errors",
|
142
|
-
|
139
|
+
type: Hash,
|
143
140
|
default_value: {},
|
144
141
|
optional: true),
|
145
142
|
FastlaneCore::ConfigItem.new(key: :headers,
|
@@ -146,64 +146,56 @@ module Fastlane
|
|
146
146
|
env_name: 'FL_GRADLE_TASK',
|
147
147
|
description: 'The gradle task you want to execute, e.g. `assemble`, `bundle` or `test`. For tasks such as `assembleMyFlavorRelease` you should use gradle(task: \'assemble\', flavor: \'Myflavor\', build_type: \'Release\')',
|
148
148
|
conflicting_options: [:tasks],
|
149
|
-
optional: true,
|
150
|
-
is_string: true),
|
149
|
+
optional: true),
|
151
150
|
FastlaneCore::ConfigItem.new(key: :flavor,
|
152
151
|
env_name: 'FL_GRADLE_FLAVOR',
|
153
152
|
description: 'The flavor that you want the task for, e.g. `MyFlavor`. If you are running the `assemble` task in a multi-flavor project, and you rely on Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] then you must specify a flavor here or else this value will be undefined',
|
154
|
-
optional: true,
|
155
|
-
is_string: true),
|
153
|
+
optional: true),
|
156
154
|
FastlaneCore::ConfigItem.new(key: :build_type,
|
157
155
|
env_name: 'FL_GRADLE_BUILD_TYPE',
|
158
156
|
description: 'The build type that you want the task for, e.g. `Release`. Useful for some tasks such as `assemble`',
|
159
|
-
optional: true,
|
160
|
-
is_string: true),
|
157
|
+
optional: true),
|
161
158
|
FastlaneCore::ConfigItem.new(key: :tasks,
|
162
159
|
type: Array,
|
163
160
|
env_name: 'FL_GRADLE_TASKS',
|
164
161
|
description: 'The multiple gradle tasks that you want to execute, e.g. `[assembleDebug, bundleDebug]`',
|
165
162
|
conflicting_options: [:task],
|
166
|
-
optional: true,
|
167
|
-
is_string: false),
|
163
|
+
optional: true),
|
168
164
|
FastlaneCore::ConfigItem.new(key: :flags,
|
169
165
|
env_name: 'FL_GRADLE_FLAGS',
|
170
166
|
description: 'All parameter flags you want to pass to the gradle command, e.g. `--exitcode --xml file.xml`',
|
171
|
-
optional: true,
|
172
|
-
is_string: true),
|
167
|
+
optional: true),
|
173
168
|
FastlaneCore::ConfigItem.new(key: :project_dir,
|
174
169
|
env_name: 'FL_GRADLE_PROJECT_DIR',
|
175
170
|
description: 'The root directory of the gradle project',
|
176
|
-
default_value: '.',
|
177
|
-
is_string: true),
|
171
|
+
default_value: '.'),
|
178
172
|
FastlaneCore::ConfigItem.new(key: :gradle_path,
|
179
173
|
env_name: 'FL_GRADLE_PATH',
|
180
174
|
description: 'The path to your `gradlew`. If you specify a relative path, it is assumed to be relative to the `project_dir`',
|
181
|
-
optional: true,
|
182
|
-
is_string: true),
|
175
|
+
optional: true),
|
183
176
|
FastlaneCore::ConfigItem.new(key: :properties,
|
184
177
|
env_name: 'FL_GRADLE_PROPERTIES',
|
185
178
|
description: 'Gradle properties to be exposed to the gradle script',
|
186
179
|
optional: true,
|
187
|
-
|
180
|
+
type: Hash),
|
188
181
|
FastlaneCore::ConfigItem.new(key: :system_properties,
|
189
182
|
env_name: 'FL_GRADLE_SYSTEM_PROPERTIES',
|
190
183
|
description: 'Gradle system properties to be exposed to the gradle script',
|
191
184
|
optional: true,
|
192
|
-
|
185
|
+
type: Hash),
|
193
186
|
FastlaneCore::ConfigItem.new(key: :serial,
|
194
187
|
env_name: 'FL_ANDROID_SERIAL',
|
195
188
|
description: 'Android serial, which device should be used for this command',
|
196
|
-
is_string: true,
|
197
189
|
default_value: ''),
|
198
190
|
FastlaneCore::ConfigItem.new(key: :print_command,
|
199
191
|
env_name: 'FL_GRADLE_PRINT_COMMAND',
|
200
192
|
description: 'Control whether the generated Gradle command is printed as output before running it (true/false)',
|
201
|
-
|
193
|
+
type: Boolean,
|
202
194
|
default_value: true),
|
203
195
|
FastlaneCore::ConfigItem.new(key: :print_command_output,
|
204
196
|
env_name: 'FL_GRADLE_PRINT_COMMAND_OUTPUT',
|
205
197
|
description: 'Control whether the output produced by given Gradle command is printed while running (true/false)',
|
206
|
-
|
198
|
+
type: Boolean,
|
207
199
|
default_value: true)
|
208
200
|
]
|
209
201
|
end
|
@@ -127,7 +127,7 @@ module Fastlane
|
|
127
127
|
description: "Forces the commit, even if other files than the ones containing the version number have been modified",
|
128
128
|
optional: true,
|
129
129
|
default_value: false,
|
130
|
-
|
130
|
+
type: Boolean),
|
131
131
|
FastlaneCore::ConfigItem.new(key: :test_dirty_files,
|
132
132
|
env_name: "FL_HG_COMMIT_TEST_DIRTY_FILES",
|
133
133
|
description: "A list of dirty files passed in for testing",
|
@@ -27,7 +27,7 @@ module Fastlane
|
|
27
27
|
FastlaneCore::ConfigItem.new(key: :force,
|
28
28
|
env_name: "FL_HG_PUSH_FORCE",
|
29
29
|
description: "Force push to remote",
|
30
|
-
|
30
|
+
type: Boolean,
|
31
31
|
default_value: false),
|
32
32
|
FastlaneCore::ConfigItem.new(key: :destination,
|
33
33
|
env_name: "FL_HG_PUSH_DESTINATION",
|
@@ -117,14 +117,13 @@ module Fastlane
|
|
117
117
|
FastlaneCore::ConfigItem.new(key: :custom_color,
|
118
118
|
env_name: "FL_HIPCHAT_CUSTOM_COLOR",
|
119
119
|
description: "Specify a custom color, this overrides the success boolean. Can be one of 'yellow', 'red', 'green', 'purple', 'gray', or 'random'",
|
120
|
-
optional: true,
|
121
|
-
is_string: true),
|
120
|
+
optional: true),
|
122
121
|
FastlaneCore::ConfigItem.new(key: :success,
|
123
122
|
env_name: "FL_HIPCHAT_SUCCESS",
|
124
123
|
description: "Was this build successful? (true/false)",
|
125
124
|
optional: true,
|
126
125
|
default_value: true,
|
127
|
-
|
126
|
+
type: Boolean),
|
128
127
|
FastlaneCore::ConfigItem.new(key: :version,
|
129
128
|
env_name: "HIPCHAT_API_VERSION",
|
130
129
|
description: "Version of the Hipchat API. Must be 1 or 2",
|
@@ -139,7 +138,7 @@ module Fastlane
|
|
139
138
|
description: "Should the people in the room be notified? (true/false)",
|
140
139
|
default_value: false,
|
141
140
|
optional: true,
|
142
|
-
|
141
|
+
type: Boolean),
|
143
142
|
FastlaneCore::ConfigItem.new(key: :api_host,
|
144
143
|
env_name: "HIPCHAT_API_HOST",
|
145
144
|
description: "The host of the HipChat-Server API",
|
@@ -161,7 +160,7 @@ module Fastlane
|
|
161
160
|
description: "Should html formatted messages include a preformatted header? (true/false)",
|
162
161
|
default_value: true,
|
163
162
|
optional: true,
|
164
|
-
|
163
|
+
type: Boolean),
|
165
164
|
FastlaneCore::ConfigItem.new(key: :from,
|
166
165
|
env_name: "FL_HIPCHAT_FROM",
|
167
166
|
description: "Name the message will appear to be sent from",
|
@@ -226,19 +226,13 @@ module Fastlane
|
|
226
226
|
description: "Path to your symbols file. For iOS and Mac provide path to app.dSYM.zip. For Android provide path to mappings.txt file",
|
227
227
|
default_value: Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH],
|
228
228
|
default_value_dynamic: true,
|
229
|
-
optional: true,
|
230
|
-
verify_block: proc do |value|
|
231
|
-
# validation is done in the action
|
232
|
-
end),
|
229
|
+
optional: true),
|
233
230
|
FastlaneCore::ConfigItem.new(key: :create_update,
|
234
231
|
env_name: "FL_HOCKEY_CREATE_UPDATE",
|
235
232
|
description: "Set true if you want to create then update your app as opposed to just upload it."\
|
236
233
|
" You will need the 'public_identifier', 'bundle_version' and 'bundle_short_version'",
|
237
|
-
|
238
|
-
default_value: false,
|
239
|
-
verify_block: proc do |value|
|
240
|
-
# validation is done in the action
|
241
|
-
end),
|
234
|
+
type: Boolean,
|
235
|
+
default_value: false),
|
242
236
|
FastlaneCore::ConfigItem.new(key: :notes,
|
243
237
|
env_name: "FL_HOCKEY_NOTES",
|
244
238
|
description: "Beta Notes",
|
@@ -307,7 +301,7 @@ module Fastlane
|
|
307
301
|
FastlaneCore::ConfigItem.new(key: :upload_dsym_only,
|
308
302
|
env_name: "FL_HOCKEY_UPLOAD_DSYM_ONLY",
|
309
303
|
description: "Flag to upload only the dSYM file to hockey app",
|
310
|
-
|
304
|
+
type: Boolean,
|
311
305
|
default_value: false),
|
312
306
|
FastlaneCore::ConfigItem.new(key: :owner_id,
|
313
307
|
env_name: "FL_HOCKEY_OWNER_ID",
|
@@ -328,12 +322,11 @@ module Fastlane
|
|
328
322
|
FastlaneCore::ConfigItem.new(key: :bypass_cdn,
|
329
323
|
env_name: "FL_HOCKEY_BYPASS_CDN",
|
330
324
|
description: "Flag to bypass Hockey CDN when it uploads successfully but reports error",
|
331
|
-
|
325
|
+
type: Boolean,
|
332
326
|
default_value: false),
|
333
327
|
FastlaneCore::ConfigItem.new(key: :dsa_signature,
|
334
328
|
env_name: "FL_HOCKEY_DSA_SIGNATURE",
|
335
329
|
description: "DSA signature for sparkle updates for macOS",
|
336
|
-
is_string: true,
|
337
330
|
default_value: "",
|
338
331
|
optional: true)
|
339
332
|
]
|