fastlane 2.185.0 → 2.185.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +82 -82
- data/fastlane/lib/fastlane/actions/appetize.rb +0 -7
- data/fastlane/lib/fastlane/actions/appium.rb +40 -65
- data/fastlane/lib/fastlane/actions/apteligent.rb +3 -2
- data/fastlane/lib/fastlane/actions/artifactory.rb +5 -6
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +6 -11
- data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +2 -2
- data/fastlane/lib/fastlane/actions/badge.rb +9 -13
- data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +1 -3
- data/fastlane/lib/fastlane/actions/bundle_install.rb +8 -10
- data/fastlane/lib/fastlane/actions/carthage.rb +1 -15
- data/fastlane/lib/fastlane/actions/changelog_from_git_commits.rb +8 -17
- data/fastlane/lib/fastlane/actions/chatwork.rb +3 -2
- data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +0 -1
- data/fastlane/lib/fastlane/actions/clean_cocoapods_cache.rb +0 -1
- data/fastlane/lib/fastlane/actions/cloc.rb +9 -13
- data/fastlane/lib/fastlane/actions/cocoapods.rb +9 -15
- data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -3
- data/fastlane/lib/fastlane/actions/commit_version_bump.rb +6 -7
- data/fastlane/lib/fastlane/actions/copy_artifacts.rb +3 -4
- data/fastlane/lib/fastlane/actions/crashlytics.rb +7 -11
- data/fastlane/lib/fastlane/actions/create_app_on_managed_play_store.rb +70 -76
- data/fastlane/lib/fastlane/actions/create_keychain.rb +9 -10
- data/fastlane/lib/fastlane/actions/create_pull_request.rb +0 -9
- data/fastlane/lib/fastlane/actions/danger.rb +6 -11
- data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +1 -1
- data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +4 -4
- data/fastlane/lib/fastlane/setup/setup_ios.rb +3 -3
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +3 -3
- 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 +1099 -1099
- 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 +2 -2
- data/fastlane_core/lib/fastlane_core/print_table.rb +5 -3
- data/fastlane_core/lib/fastlane_core/project.rb +7 -3
- data/snapshot/lib/snapshot/test_command_generator.rb +1 -1
- data/spaceship/lib/spaceship/spaceauth_runner.rb +19 -6
- metadata +20 -20
@@ -72,66 +72,60 @@ module Fastlane
|
|
72
72
|
FastlaneCore::ConfigItem.new(key: :repo_update,
|
73
73
|
env_name: "FL_COCOAPODS_REPO_UPDATE",
|
74
74
|
description: "Add `--repo-update` flag to `pod install` command",
|
75
|
-
|
75
|
+
type: Boolean,
|
76
76
|
default_value: false),
|
77
77
|
FastlaneCore::ConfigItem.new(key: :clean_install,
|
78
78
|
env_name: "FL_COCOAPODS_CLEAN_INSTALL",
|
79
79
|
description: "Execute a full pod installation ignoring the content of the project cache",
|
80
|
-
|
80
|
+
type: Boolean,
|
81
81
|
default_value: false),
|
82
82
|
FastlaneCore::ConfigItem.new(key: :silent,
|
83
83
|
env_name: "FL_COCOAPODS_SILENT",
|
84
84
|
description: "Execute command without logging output",
|
85
|
-
|
85
|
+
type: Boolean,
|
86
86
|
default_value: false),
|
87
87
|
FastlaneCore::ConfigItem.new(key: :verbose,
|
88
88
|
env_name: "FL_COCOAPODS_VERBOSE",
|
89
89
|
description: "Show more debugging information",
|
90
|
-
|
90
|
+
type: Boolean,
|
91
91
|
default_value: false),
|
92
92
|
FastlaneCore::ConfigItem.new(key: :ansi,
|
93
93
|
env_name: "FL_COCOAPODS_ANSI",
|
94
94
|
description: "Show output with ANSI codes",
|
95
|
-
|
95
|
+
type: Boolean,
|
96
96
|
default_value: true),
|
97
97
|
FastlaneCore::ConfigItem.new(key: :use_bundle_exec,
|
98
98
|
env_name: "FL_COCOAPODS_USE_BUNDLE_EXEC",
|
99
99
|
description: "Use bundle exec when there is a Gemfile presented",
|
100
|
-
|
100
|
+
type: Boolean,
|
101
101
|
default_value: true),
|
102
102
|
FastlaneCore::ConfigItem.new(key: :podfile,
|
103
103
|
env_name: "FL_COCOAPODS_PODFILE",
|
104
104
|
description: "Explicitly specify the path to the Cocoapods' Podfile. You can either set it to the Podfile's path or to the folder containing the Podfile file",
|
105
105
|
optional: true,
|
106
|
-
is_string: true,
|
107
106
|
verify_block: proc do |value|
|
108
107
|
UI.user_error!("Could not find Podfile") unless File.exist?(value) || Helper.test?
|
109
108
|
end),
|
110
109
|
FastlaneCore::ConfigItem.new(key: :error_callback,
|
111
110
|
description: 'A callback invoked with the command output if there is a non-zero exit status',
|
112
111
|
optional: true,
|
113
|
-
|
114
|
-
type: :string_callback,
|
115
|
-
default_value: nil),
|
112
|
+
type: :string_callback),
|
116
113
|
FastlaneCore::ConfigItem.new(key: :try_repo_update_on_error,
|
117
114
|
env_name: "FL_COCOAPODS_TRY_REPO_UPDATE_ON_ERROR",
|
118
115
|
description: 'Retry with --repo-update if action was finished with error',
|
119
116
|
optional: true,
|
120
|
-
is_string: false,
|
121
117
|
default_value: false,
|
122
118
|
type: Boolean),
|
123
119
|
FastlaneCore::ConfigItem.new(key: :deployment,
|
124
120
|
env_name: "FL_COCOAPODS_DEPLOYMENT",
|
125
121
|
description: 'Disallow any changes to the Podfile or the Podfile.lock during installation',
|
126
122
|
optional: true,
|
127
|
-
is_string: false,
|
128
123
|
default_value: false,
|
129
124
|
type: Boolean),
|
130
125
|
FastlaneCore::ConfigItem.new(key: :allow_root,
|
131
126
|
env_name: "FL_COCOAPODS_ALLOW_ROOT",
|
132
127
|
description: 'Allows CocoaPods to run as root',
|
133
128
|
optional: true,
|
134
|
-
is_string: false,
|
135
129
|
default_value: false,
|
136
130
|
type: Boolean),
|
137
131
|
|
@@ -140,13 +134,13 @@ module Fastlane
|
|
140
134
|
env_name: "FL_COCOAPODS_CLEAN",
|
141
135
|
description: "(Option renamed as clean_install) Remove SCM directories",
|
142
136
|
deprecated: true,
|
143
|
-
|
137
|
+
type: Boolean,
|
144
138
|
default_value: true),
|
145
139
|
FastlaneCore::ConfigItem.new(key: :integrate,
|
146
140
|
env_name: "FL_COCOAPODS_INTEGRATE",
|
147
141
|
description: "(Option removed from cocoapods) Integrate the Pods libraries into the Xcode project(s)",
|
148
142
|
deprecated: true,
|
149
|
-
|
143
|
+
type: Boolean,
|
150
144
|
default_value: true)
|
151
145
|
]
|
152
146
|
# Please don't add a version parameter to the `cocoapods` action. If you need to specify a version when running
|
@@ -107,7 +107,6 @@ module Fastlane
|
|
107
107
|
description: "Personal API Token for GitHub - generate one at https://github.com/settings/tokens",
|
108
108
|
conflicting_options: [:api_bearer],
|
109
109
|
sensitive: true,
|
110
|
-
is_string: true,
|
111
110
|
code_gen_sensitive: true,
|
112
111
|
default_value: ENV["GITHUB_API_TOKEN"],
|
113
112
|
default_value_dynamic: true,
|
@@ -129,7 +128,6 @@ module Fastlane
|
|
129
128
|
env_name: 'FL_COMMIT_GITHUB_FILE_PATH',
|
130
129
|
description: 'The relative path to your file from project root e.g. assets/my_app.xcarchive',
|
131
130
|
optional: false,
|
132
|
-
is_string: true,
|
133
131
|
verify_block: proc do |value|
|
134
132
|
value = File.expand_path(value)
|
135
133
|
UI.user_error!("File not found at path '#{value}'") unless File.exist?(value)
|
@@ -142,7 +140,7 @@ module Fastlane
|
|
142
140
|
FastlaneCore::ConfigItem.new(key: :secure,
|
143
141
|
env_name: "FL_COMMIT_GITHUB_FILE_SECURE",
|
144
142
|
description: "Optionally disable secure requests (ssl_verify_peer)",
|
145
|
-
|
143
|
+
type: Boolean,
|
146
144
|
default_value: true,
|
147
145
|
optional: true)
|
148
146
|
]
|
@@ -164,20 +164,19 @@ module Fastlane
|
|
164
164
|
FastlaneCore::ConfigItem.new(key: :force,
|
165
165
|
env_name: "FL_FORCE_COMMIT",
|
166
166
|
description: "Forces the commit, even if other files than the ones containing the version number have been modified",
|
167
|
+
type: Boolean,
|
167
168
|
optional: true,
|
168
|
-
default_value: false,
|
169
|
-
is_string: false),
|
169
|
+
default_value: false),
|
170
170
|
FastlaneCore::ConfigItem.new(key: :settings,
|
171
171
|
env_name: "FL_COMMIT_INCLUDE_SETTINGS",
|
172
172
|
description: "Include Settings.bundle/Root.plist with version bump",
|
173
|
+
skip_type_validation: true, # allows Boolean, String, Array
|
173
174
|
optional: true,
|
174
|
-
default_value: false,
|
175
|
-
is_string: false),
|
175
|
+
default_value: false),
|
176
176
|
FastlaneCore::ConfigItem.new(key: :ignore,
|
177
177
|
description: "A regular expression used to filter matched plist files to be modified",
|
178
|
-
|
179
|
-
|
180
|
-
is_string: false),
|
178
|
+
skip_type_validation: true, # allows Regex
|
179
|
+
optional: true),
|
181
180
|
FastlaneCore::ConfigItem.new(key: :include,
|
182
181
|
description: "A list of extra files to be included in the version bump (string array or comma-separated string)",
|
183
182
|
optional: true,
|
@@ -57,22 +57,21 @@ module Fastlane
|
|
57
57
|
[
|
58
58
|
FastlaneCore::ConfigItem.new(key: :keep_original,
|
59
59
|
description: "Set this to false if you want move, rather than copy, the found artifacts",
|
60
|
-
|
60
|
+
type: Boolean,
|
61
61
|
optional: true,
|
62
62
|
default_value: true),
|
63
63
|
FastlaneCore::ConfigItem.new(key: :target_path,
|
64
64
|
description: "The directory in which you want your artifacts placed",
|
65
|
-
is_string: false,
|
66
65
|
optional: false,
|
67
66
|
default_value: 'artifacts'),
|
68
67
|
FastlaneCore::ConfigItem.new(key: :artifacts,
|
69
68
|
description: "An array of file patterns of the files/folders you want to preserve",
|
70
|
-
|
69
|
+
type: Array,
|
71
70
|
optional: false,
|
72
71
|
default_value: []),
|
73
72
|
FastlaneCore::ConfigItem.new(key: :fail_on_missing,
|
74
73
|
description: "Fail when a source file isn't found",
|
75
|
-
|
74
|
+
type: Boolean,
|
76
75
|
optional: true,
|
77
76
|
default_value: false)
|
78
77
|
]
|
@@ -2,9 +2,6 @@ module Fastlane
|
|
2
2
|
module Actions
|
3
3
|
class CrashlyticsAction < Action
|
4
4
|
def self.run(params)
|
5
|
-
params[:groups] = params[:groups].join(",") if params[:groups].kind_of?(Array)
|
6
|
-
params[:emails] = params[:emails].join(",") if params[:emails].kind_of?(Array)
|
7
|
-
|
8
5
|
params.values # to validate all inputs before looking for the ipa/apk
|
9
6
|
tempfiles = []
|
10
7
|
|
@@ -133,28 +130,27 @@ module Fastlane
|
|
133
130
|
FastlaneCore::ConfigItem.new(key: :notes,
|
134
131
|
env_name: "CRASHLYTICS_NOTES",
|
135
132
|
description: "The release notes as string - uses :notes_path under the hood",
|
136
|
-
optional: true,
|
137
|
-
is_string: true),
|
133
|
+
optional: true),
|
138
134
|
FastlaneCore::ConfigItem.new(key: :groups,
|
139
135
|
env_name: "CRASHLYTICS_GROUPS",
|
140
136
|
description: "The groups used for distribution, separated by commas",
|
141
|
-
|
142
|
-
|
137
|
+
type: Array,
|
138
|
+
optional: true),
|
143
139
|
FastlaneCore::ConfigItem.new(key: :emails,
|
144
140
|
env_name: "CRASHLYTICS_EMAILS",
|
145
141
|
description: "Pass email addresses of testers, separated by commas",
|
146
|
-
|
147
|
-
|
142
|
+
type: Array,
|
143
|
+
optional: true),
|
148
144
|
FastlaneCore::ConfigItem.new(key: :notifications,
|
149
145
|
env_name: "CRASHLYTICS_NOTIFICATIONS",
|
150
146
|
description: "Crashlytics notification option (true/false)",
|
151
147
|
default_value: true,
|
152
|
-
|
148
|
+
type: Boolean),
|
153
149
|
FastlaneCore::ConfigItem.new(key: :debug,
|
154
150
|
env_name: "CRASHLYTICS_DEBUG",
|
155
151
|
description: "Crashlytics debug option (true/false)",
|
156
152
|
default_value: false,
|
157
|
-
|
153
|
+
type: Boolean)
|
158
154
|
|
159
155
|
]
|
160
156
|
end
|
@@ -52,91 +52,85 @@ module Fastlane
|
|
52
52
|
def self.available_options
|
53
53
|
[
|
54
54
|
# Authorization
|
55
|
-
FastlaneCore::ConfigItem.new(
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
UI.user_error!("Could not parse service account json: JSON::ParseError")
|
85
|
-
end
|
86
|
-
end
|
87
|
-
),
|
55
|
+
FastlaneCore::ConfigItem.new(key: :json_key,
|
56
|
+
env_name: "SUPPLY_JSON_KEY",
|
57
|
+
short_option: "-j",
|
58
|
+
conflicting_options: [:json_key_data],
|
59
|
+
optional: true, # optional until it is possible specify either json_key OR json_key_data are required
|
60
|
+
description: "The path to a file containing service account JSON, used to authenticate with Google",
|
61
|
+
code_gen_sensitive: true,
|
62
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:json_key_file),
|
63
|
+
default_value_dynamic: true,
|
64
|
+
verify_block: proc do |value|
|
65
|
+
UI.user_error!("Could not find service account json file at path '#{File.expand_path(value)}'") unless File.exist?(File.expand_path(value))
|
66
|
+
UI.user_error!("'#{value}' doesn't seem to be a JSON file") unless FastlaneCore::Helper.json_file?(File.expand_path(value))
|
67
|
+
end),
|
68
|
+
FastlaneCore::ConfigItem.new(key: :json_key_data,
|
69
|
+
env_name: "SUPPLY_JSON_KEY_DATA",
|
70
|
+
short_option: "-c",
|
71
|
+
conflicting_options: [:json_key],
|
72
|
+
optional: true,
|
73
|
+
description: "The raw service account JSON data used to authenticate with Google",
|
74
|
+
code_gen_sensitive: true,
|
75
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:json_key_data_raw),
|
76
|
+
default_value_dynamic: true,
|
77
|
+
verify_block: proc do |value|
|
78
|
+
begin
|
79
|
+
JSON.parse(value)
|
80
|
+
rescue JSON::ParserError
|
81
|
+
UI.user_error!("Could not parse service account json: JSON::ParseError")
|
82
|
+
end
|
83
|
+
end),
|
88
84
|
FastlaneCore::ConfigItem.new(key: :developer_account_id,
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
85
|
+
short_option: "-k",
|
86
|
+
env_name: "SUPPLY_DEVELOPER_ACCOUNT_ID",
|
87
|
+
description: "The ID of your Google Play Console account. Can be obtained from the URL when you log in (`https://play.google.com/apps/publish/?account=...` or when you 'Obtain private app publishing rights' (https://developers.google.com/android/work/play/custom-app-api/get-started#retrieve_the_developer_account_id)",
|
88
|
+
code_gen_sensitive: true,
|
89
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:developer_account_id),
|
90
|
+
default_value_dynamic: true),
|
95
91
|
# APK
|
96
|
-
FastlaneCore::ConfigItem.new(
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
end
|
109
|
-
),
|
92
|
+
FastlaneCore::ConfigItem.new(key: :apk,
|
93
|
+
env_name: "SUPPLY_APK",
|
94
|
+
description: "Path to the APK file to upload",
|
95
|
+
short_option: "-b",
|
96
|
+
code_gen_sensitive: true,
|
97
|
+
default_value: Dir["*.apk"].last || Dir[File.join("app", "build", "outputs", "apk", "app-release.apk")].last,
|
98
|
+
default_value_dynamic: true,
|
99
|
+
verify_block: proc do |value|
|
100
|
+
UI.user_error!("No value found for 'apk'") if value.to_s.length == 0
|
101
|
+
UI.user_error!("Could not find apk file at path '#{value}'") unless File.exist?(value)
|
102
|
+
UI.user_error!("apk file is not an apk") unless value.end_with?('.apk')
|
103
|
+
end),
|
110
104
|
# Title
|
111
105
|
FastlaneCore::ConfigItem.new(key: :app_title,
|
112
|
-
|
113
|
-
|
114
|
-
|
106
|
+
env_name: "SUPPLY_APP_TITLE",
|
107
|
+
short_option: "-q",
|
108
|
+
description: "App Title"),
|
115
109
|
# Language
|
116
110
|
FastlaneCore::ConfigItem.new(key: :language,
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
111
|
+
short_option: "-m",
|
112
|
+
env_name: "SUPPLY_LANGUAGE",
|
113
|
+
description: "Default app language (e.g. 'en_US')",
|
114
|
+
default_value: "en_US",
|
115
|
+
verify_block: proc do |language|
|
116
|
+
unless Supply::Languages::ALL_LANGUAGES.include?(language)
|
117
|
+
UI.user_error!("Please enter one of the available languages: #{Supply::Languages::ALL_LANGUAGES}")
|
118
|
+
end
|
119
|
+
end),
|
126
120
|
# Google Play API
|
127
121
|
FastlaneCore::ConfigItem.new(key: :root_url,
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
122
|
+
env_name: "SUPPLY_ROOT_URL",
|
123
|
+
description: "Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/",
|
124
|
+
optional: true,
|
125
|
+
verify_block: proc do |value|
|
126
|
+
UI.user_error!("Could not parse URL '#{value}'") unless value =~ URI.regexp
|
127
|
+
end),
|
134
128
|
FastlaneCore::ConfigItem.new(key: :timeout,
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
129
|
+
env_name: "SUPPLY_TIMEOUT",
|
130
|
+
optional: true,
|
131
|
+
description: "Timeout for read, open, and send (in seconds)",
|
132
|
+
type: Integer,
|
133
|
+
default_value: 300)
|
140
134
|
]
|
141
135
|
end
|
142
136
|
|
@@ -105,46 +105,45 @@ module Fastlane
|
|
105
105
|
env_name: "KEYCHAIN_NAME",
|
106
106
|
description: "Keychain name",
|
107
107
|
conflicting_options: [:path],
|
108
|
-
is_string: true,
|
109
108
|
optional: true),
|
110
109
|
FastlaneCore::ConfigItem.new(key: :path,
|
111
110
|
env_name: "KEYCHAIN_PATH",
|
112
111
|
description: "Path to keychain",
|
113
|
-
is_string: true,
|
114
112
|
conflicting_options: [:name],
|
115
113
|
optional: true),
|
116
114
|
FastlaneCore::ConfigItem.new(key: :password,
|
117
115
|
env_name: "KEYCHAIN_PASSWORD",
|
118
116
|
description: "Password for the keychain",
|
119
117
|
sensitive: true,
|
118
|
+
code_gen_sensitive: true,
|
120
119
|
optional: false),
|
121
120
|
FastlaneCore::ConfigItem.new(key: :default_keychain,
|
122
121
|
description: 'Should the newly created Keychain be the new system default keychain',
|
123
|
-
|
122
|
+
type: Boolean,
|
124
123
|
default_value: false),
|
125
124
|
FastlaneCore::ConfigItem.new(key: :unlock,
|
126
125
|
description: 'Unlock keychain after create',
|
127
|
-
|
126
|
+
type: Boolean,
|
128
127
|
default_value: false),
|
129
128
|
FastlaneCore::ConfigItem.new(key: :timeout,
|
130
|
-
description: 'timeout interval in seconds
|
131
|
-
|
129
|
+
description: 'timeout interval in seconds',
|
130
|
+
type: Integer,
|
132
131
|
default_value: 300),
|
133
132
|
FastlaneCore::ConfigItem.new(key: :lock_when_sleeps,
|
134
133
|
description: 'Lock keychain when the system sleeps',
|
135
|
-
|
134
|
+
type: Boolean,
|
136
135
|
default_value: false),
|
137
136
|
FastlaneCore::ConfigItem.new(key: :lock_after_timeout,
|
138
137
|
description: 'Lock keychain after timeout interval',
|
139
|
-
|
138
|
+
type: Boolean,
|
140
139
|
default_value: false),
|
141
140
|
FastlaneCore::ConfigItem.new(key: :add_to_search_list,
|
142
141
|
description: 'Add keychain to search list',
|
143
|
-
|
142
|
+
type: Boolean,
|
144
143
|
default_value: true),
|
145
144
|
FastlaneCore::ConfigItem.new(key: :require_create,
|
146
145
|
description: 'Fail the action if the Keychain already exists',
|
147
|
-
|
146
|
+
type: Boolean,
|
148
147
|
default_value: false)
|
149
148
|
]
|
150
149
|
end
|
@@ -165,7 +165,6 @@ module Fastlane
|
|
165
165
|
code_gen_sensitive: true,
|
166
166
|
default_value: ENV["GITHUB_API_TOKEN"],
|
167
167
|
default_value_dynamic: true,
|
168
|
-
is_string: true,
|
169
168
|
conflicting_options: [:api_bearer],
|
170
169
|
optional: true),
|
171
170
|
FastlaneCore::ConfigItem.new(key: :api_bearer,
|
@@ -173,24 +172,20 @@ module Fastlane
|
|
173
172
|
description: "Use a Bearer authorization token. Usually generated by Github Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable",
|
174
173
|
sensitive: true,
|
175
174
|
code_gen_sensitive: true,
|
176
|
-
is_string: true,
|
177
175
|
conflicting_options: [:api_token],
|
178
176
|
optional: true,
|
179
177
|
default_value: nil),
|
180
178
|
FastlaneCore::ConfigItem.new(key: :repo,
|
181
179
|
env_name: "GITHUB_PULL_REQUEST_REPO",
|
182
180
|
description: "The name of the repository you want to submit the pull request to",
|
183
|
-
is_string: true,
|
184
181
|
optional: false),
|
185
182
|
FastlaneCore::ConfigItem.new(key: :title,
|
186
183
|
env_name: "GITHUB_PULL_REQUEST_TITLE",
|
187
184
|
description: "The title of the pull request",
|
188
|
-
is_string: true,
|
189
185
|
optional: false),
|
190
186
|
FastlaneCore::ConfigItem.new(key: :body,
|
191
187
|
env_name: "GITHUB_PULL_REQUEST_BODY",
|
192
188
|
description: "The contents of the pull request",
|
193
|
-
is_string: true,
|
194
189
|
optional: true),
|
195
190
|
FastlaneCore::ConfigItem.new(key: :draft,
|
196
191
|
env_name: "GITHUB_PULL_REQUEST_DRAFT",
|
@@ -210,21 +205,17 @@ module Fastlane
|
|
210
205
|
FastlaneCore::ConfigItem.new(key: :head,
|
211
206
|
env_name: "GITHUB_PULL_REQUEST_HEAD",
|
212
207
|
description: "The name of the branch where your changes are implemented (defaults to the current branch name)",
|
213
|
-
is_string: true,
|
214
|
-
code_gen_sensitive: true,
|
215
208
|
default_value: Actions.git_branch,
|
216
209
|
default_value_dynamic: true,
|
217
210
|
optional: true),
|
218
211
|
FastlaneCore::ConfigItem.new(key: :base,
|
219
212
|
env_name: "GITHUB_PULL_REQUEST_BASE",
|
220
213
|
description: "The name of the branch you want your changes pulled into (defaults to `master`)",
|
221
|
-
is_string: true,
|
222
214
|
default_value: 'master',
|
223
215
|
optional: true),
|
224
216
|
FastlaneCore::ConfigItem.new(key: :api_url,
|
225
217
|
env_name: "GITHUB_PULL_REQUEST_API_URL",
|
226
218
|
description: "The URL of GitHub API - used when the Enterprise (default to `https://api.github.com`)",
|
227
|
-
is_string: true,
|
228
219
|
code_gen_default_value: 'https://api.github.com',
|
229
220
|
default_value: 'https://api.github.com',
|
230
221
|
optional: true),
|