fastlane 2.71.0.beta.20171221010003 → 2.71.0.beta.20171222010003
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 +4 -4
- data/cert/lib/cert/options.rb +3 -0
- data/deliver/lib/deliver/options.rb +7 -0
- data/fastlane/lib/fastlane/actions/app_store_build_number.rb +3 -0
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -0
- data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -0
- data/fastlane/lib/fastlane/actions/create_pull_request.rb +3 -0
- data/fastlane/lib/fastlane/actions/dotgpg_environment.rb +1 -0
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +10 -1
- data/fastlane/lib/fastlane/actions/get_version_number.rb +7 -1
- data/fastlane/lib/fastlane/actions/github_api.rb +1 -0
- data/fastlane/lib/fastlane/actions/import_from_git.rb +8 -2
- data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +3 -0
- data/fastlane/lib/fastlane/actions/modify_services.rb +3 -0
- data/fastlane/lib/fastlane/actions/register_device.rb +2 -0
- data/fastlane/lib/fastlane/actions/register_devices.rb +2 -0
- data/fastlane/lib/fastlane/actions/s3.rb +2 -0
- data/fastlane/lib/fastlane/actions/set_changelog.rb +3 -0
- data/fastlane/lib/fastlane/actions/set_github_release.rb +1 -0
- data/fastlane/lib/fastlane/actions/update_app_identifier.rb +2 -0
- data/fastlane/lib/fastlane/actions/update_info_plist.rb +1 -0
- data/fastlane/lib/fastlane/actions/update_project_code_signing.rb +2 -0
- data/fastlane/lib/fastlane/actions/update_project_team.rb +1 -0
- data/fastlane/lib/fastlane/actions/verify_xcode.rb +1 -0
- data/fastlane/lib/fastlane/actions/version_bump_podspec.rb +1 -0
- data/fastlane/lib/fastlane/actions/version_get_podspec.rb +1 -0
- data/fastlane/lib/fastlane/actions/xcode_install.rb +1 -0
- data/fastlane/lib/fastlane/fast_file.rb +9 -75
- data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +1 -2
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +0 -32
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +12 -12
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane_core/lib/fastlane_core.rb +1 -0
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +31 -0
- data/fastlane_core/lib/fastlane_core/tag_version.rb +24 -0
- data/match/lib/match/options.rb +3 -0
- data/pem/lib/pem/options.rb +3 -0
- data/pilot/lib/pilot/options.rb +6 -0
- data/precheck/lib/precheck/options.rb +3 -0
- data/produce/lib/produce/options.rb +7 -0
- data/scan/lib/scan/options.rb +2 -0
- data/screengrab/lib/screengrab/options.rb +4 -0
- data/sigh/lib/sigh/options.rb +3 -0
- data/snapshot/lib/snapshot/options.rb +1 -0
- data/supply/lib/supply/options.rb +6 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15338c1ef569bc2f6ba3a3dc7ec9b68e2727d0e3
|
4
|
+
data.tar.gz: 028285fa85b323cfd1bb4606c9dd615fa43643e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8cf04d30d13f56ef18cdf8c07b7fd4762a1ecf72f62631d86bd9ec2e01dfd4aa81c21d76ba41de8c8a734fbce3ccf232d8769d8a41d6fe6d932cba93e6180c5
|
7
|
+
data.tar.gz: e44d3e4c8b6c4d241ffe5adf7a28b608e1e578cc5db82b3fa6a9bb5d080dbc43401326ca2d1ca8e9e9eef88090cb49469b9afe2811c11852006b891f1f38878c
|
data/cert/lib/cert/options.rb
CHANGED
@@ -26,6 +26,7 @@ module Cert
|
|
26
26
|
FastlaneCore::ConfigItem.new(key: :team_id,
|
27
27
|
short_option: "-b",
|
28
28
|
env_name: "CERT_TEAM_ID",
|
29
|
+
code_gen_sensitive: true,
|
29
30
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
|
30
31
|
description: "The ID of your Developer Portal team if you're in multiple teams",
|
31
32
|
optional: true,
|
@@ -37,6 +38,7 @@ module Cert
|
|
37
38
|
env_name: "CERT_TEAM_NAME",
|
38
39
|
description: "The name of your Developer Portal team if you're in multiple teams",
|
39
40
|
optional: true,
|
41
|
+
code_gen_sensitive: true,
|
40
42
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
|
41
43
|
verify_block: proc do |value|
|
42
44
|
ENV["FASTLANE_TEAM_NAME"] = value.to_s
|
@@ -50,6 +52,7 @@ module Cert
|
|
50
52
|
short_option: "-k",
|
51
53
|
env_name: "CERT_KEYCHAIN_PATH",
|
52
54
|
description: "Path to a custom keychain",
|
55
|
+
code_gen_sensitive: true,
|
53
56
|
default_value: Dir["#{Dir.home}/Library/Keychains/login.keychain", "#{Dir.home}/Library/Keychains/login.keychain-db"].last,
|
54
57
|
verify_block: proc do |value|
|
55
58
|
value = File.expand_path(value)
|
@@ -20,6 +20,7 @@ module Deliver
|
|
20
20
|
env_name: "DELIVER_APP_IDENTIFIER",
|
21
21
|
description: "The bundle identifier of your app",
|
22
22
|
optional: true,
|
23
|
+
code_gen_sensitive: true,
|
23
24
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
|
24
25
|
FastlaneCore::ConfigItem.new(key: :app,
|
25
26
|
short_option: "-p",
|
@@ -38,6 +39,7 @@ module Deliver
|
|
38
39
|
optional: true,
|
39
40
|
env_name: "DELIVER_IPA_PATH",
|
40
41
|
description: "Path to your ipa file",
|
42
|
+
code_gen_sensitive: true,
|
41
43
|
default_value: Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last,
|
42
44
|
verify_block: proc do |value|
|
43
45
|
UI.user_error!("Could not find ipa file at path '#{File.expand_path(value)}'") unless File.exist?(value)
|
@@ -52,6 +54,7 @@ module Deliver
|
|
52
54
|
optional: true,
|
53
55
|
env_name: "DELIVER_PKG_PATH",
|
54
56
|
description: "Path to your pkg file",
|
57
|
+
code_gen_sensitive: true,
|
55
58
|
default_value: Dir["*.pkg"].sort_by { |x| File.mtime(x) }.last,
|
56
59
|
verify_block: proc do |value|
|
57
60
|
UI.user_error!("Could not find pkg file at path '#{File.expand_path(value)}'") unless File.exist?(value)
|
@@ -159,6 +162,7 @@ module Deliver
|
|
159
162
|
description: "The ID of your iTunes Connect team if you're in multiple teams",
|
160
163
|
optional: true,
|
161
164
|
is_string: false, # as we also allow integers, which we convert to strings anyway
|
165
|
+
code_gen_sensitive: true,
|
162
166
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
|
163
167
|
verify_block: proc do |value|
|
164
168
|
ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
|
@@ -168,6 +172,7 @@ module Deliver
|
|
168
172
|
env_name: "DELIVER_TEAM_NAME",
|
169
173
|
description: "The name of your iTunes Connect team if you're in multiple teams",
|
170
174
|
optional: true,
|
175
|
+
code_gen_sensitive: true,
|
171
176
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|
172
177
|
verify_block: proc do |value|
|
173
178
|
ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
|
@@ -178,6 +183,7 @@ module Deliver
|
|
178
183
|
description: "The short ID of your Developer Portal team, if you're in multiple teams. Different from your iTC team ID!",
|
179
184
|
optional: true,
|
180
185
|
is_string: true,
|
186
|
+
code_gen_sensitive: true,
|
181
187
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
|
182
188
|
verify_block: proc do |value|
|
183
189
|
ENV["FASTLANE_TEAM_ID"] = value.to_s
|
@@ -187,6 +193,7 @@ module Deliver
|
|
187
193
|
env_name: "DELIVER_DEV_PORTAL_TEAM_NAME",
|
188
194
|
description: "The name of your Developer Portal team if you're in multiple teams",
|
189
195
|
optional: true,
|
196
|
+
code_gen_sensitive: true,
|
190
197
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
|
191
198
|
verify_block: proc do |value|
|
192
199
|
ENV["FASTLANE_TEAM_NAME"] = value.to_s
|
@@ -75,6 +75,7 @@ module Fastlane
|
|
75
75
|
short_option: "-a",
|
76
76
|
env_name: "FASTLANE_APP_IDENTIFIER",
|
77
77
|
description: "The bundle identifier of your app",
|
78
|
+
code_gen_sensitive: true,
|
78
79
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
|
79
80
|
FastlaneCore::ConfigItem.new(key: :username,
|
80
81
|
short_option: "-u",
|
@@ -87,6 +88,7 @@ module Fastlane
|
|
87
88
|
description: "The ID of your iTunes Connect team if you're in multiple teams",
|
88
89
|
optional: true,
|
89
90
|
is_string: false, # as we also allow integers, which we convert to strings anyway
|
91
|
+
code_gen_sensitive: true,
|
90
92
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
|
91
93
|
verify_block: proc do |value|
|
92
94
|
ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
|
@@ -117,6 +119,7 @@ module Fastlane
|
|
117
119
|
env_name: "LATEST_TESTFLIGHT_BUILD_NUMBER_TEAM_NAME",
|
118
120
|
description: "The name of your iTunes Connect team if you're in multiple teams",
|
119
121
|
optional: true,
|
122
|
+
code_gen_sensitive: true,
|
120
123
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|
121
124
|
verify_block: proc do |value|
|
122
125
|
ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
|
@@ -80,6 +80,7 @@ module Fastlane
|
|
80
80
|
FastlaneCore::ConfigItem.new(key: :path,
|
81
81
|
env_name: "FL_PROJECT_SIGNING_PROJECT_PATH",
|
82
82
|
description: "Path to your Xcode project",
|
83
|
+
code_gen_sensitive: true,
|
83
84
|
default_value: Dir['*.xcodeproj'].first,
|
84
85
|
verify_block: proc do |value|
|
85
86
|
UI.user_error!("Path is invalid") unless File.exist?(File.expand_path(value))
|
@@ -105,6 +105,7 @@ module Fastlane
|
|
105
105
|
description: "Personal API Token for GitHub - generate one at https://github.com/settings/tokens",
|
106
106
|
sensitive: true,
|
107
107
|
is_string: true,
|
108
|
+
code_gen_sensitive: true,
|
108
109
|
default_value: ENV["GITHUB_API_TOKEN"],
|
109
110
|
optional: false),
|
110
111
|
FastlaneCore::ConfigItem.new(key: :branch,
|
@@ -52,6 +52,7 @@ module Fastlane
|
|
52
52
|
env_name: "GITHUB_PULL_REQUEST_API_TOKEN",
|
53
53
|
description: "Personal API Token for GitHub - generate one at https://github.com/settings/tokens",
|
54
54
|
sensitive: true,
|
55
|
+
code_gen_sensitive: true,
|
55
56
|
default_value: ENV["GITHUB_API_TOKEN"],
|
56
57
|
is_string: true,
|
57
58
|
optional: false),
|
@@ -74,6 +75,7 @@ module Fastlane
|
|
74
75
|
env_name: "GITHUB_PULL_REQUEST_HEAD",
|
75
76
|
description: "The name of the branch where your changes are implemented (defaults to the current branch name)",
|
76
77
|
is_string: true,
|
78
|
+
code_gen_sensitive: true,
|
77
79
|
default_value: Actions.git_branch,
|
78
80
|
optional: true),
|
79
81
|
FastlaneCore::ConfigItem.new(key: :base,
|
@@ -86,6 +88,7 @@ module Fastlane
|
|
86
88
|
env_name: "GITHUB_PULL_REQUEST_API_URL",
|
87
89
|
description: "The URL of GitHub API - used when the Enterprise (default to `https://api.github.com`)",
|
88
90
|
is_string: true,
|
91
|
+
code_gen_default_value: 'https://api.github.com',
|
89
92
|
default_value: 'https://api.github.com',
|
90
93
|
optional: true)
|
91
94
|
]
|
@@ -5,6 +5,7 @@ module Fastlane
|
|
5
5
|
end
|
6
6
|
|
7
7
|
class DownloadDsymsAction < Action
|
8
|
+
# rubocop:disable Metrics/PerceivedComplexity
|
8
9
|
def self.run(params)
|
9
10
|
require 'spaceship'
|
10
11
|
require 'net/http'
|
@@ -29,8 +30,12 @@ module Fastlane
|
|
29
30
|
# Set version if it is latest
|
30
31
|
if version == 'latest'
|
31
32
|
# Try to grab the edit version first, else fallback to live version
|
33
|
+
UI.message("Looking for latest version...")
|
32
34
|
latest_version = app.edit_version(platform: platform) || app.live_version(platform: platform)
|
33
|
-
|
35
|
+
|
36
|
+
UI.user_error!("Could not find latest version for your app, please try setting a specific version") if latest_version.version.nil?
|
37
|
+
|
38
|
+
version = latest_version.version
|
34
39
|
build_number = latest_version.build_version
|
35
40
|
end
|
36
41
|
|
@@ -82,6 +87,7 @@ module Fastlane
|
|
82
87
|
UI.error("No dSYM files found on iTunes Connect - this usually happens when no recompling happened yet")
|
83
88
|
end
|
84
89
|
end
|
90
|
+
# rubocop:enable Metrics/PerceivedComplexity
|
85
91
|
|
86
92
|
def self.write_dsym(data, bundle_id, train_number, build_number, output_directory)
|
87
93
|
file_name = "#{bundle_id}-#{train_number}-#{build_number}.dSYM.zip"
|
@@ -137,6 +143,7 @@ module Fastlane
|
|
137
143
|
env_name: "DOWNLOAD_DSYMS_APP_IDENTIFIER",
|
138
144
|
description: "The bundle identifier of your app",
|
139
145
|
optional: false,
|
146
|
+
code_gen_sensitive: true,
|
140
147
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
|
141
148
|
FastlaneCore::ConfigItem.new(key: :team_id,
|
142
149
|
short_option: "-k",
|
@@ -144,6 +151,7 @@ module Fastlane
|
|
144
151
|
description: "The ID of your iTunes Connect team if you're in multiple teams",
|
145
152
|
optional: true,
|
146
153
|
is_string: false, # as we also allow integers, which we convert to strings anyway
|
154
|
+
code_gen_sensitive: true,
|
147
155
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
|
148
156
|
verify_block: proc do |value|
|
149
157
|
ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
|
@@ -153,6 +161,7 @@ module Fastlane
|
|
153
161
|
env_name: "DOWNLOAD_DSYMS_TEAM_NAME",
|
154
162
|
description: "The name of your iTunes Connect team if you're in multiple teams",
|
155
163
|
optional: true,
|
164
|
+
code_gen_sensitive: true,
|
156
165
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|
157
166
|
verify_block: proc do |value|
|
158
167
|
ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
|
@@ -78,10 +78,12 @@ module Fastlane
|
|
78
78
|
end
|
79
79
|
|
80
80
|
version_number = line.partition('=').last
|
81
|
-
return version_number if Helper.is_test?
|
82
81
|
|
83
82
|
# Store the number in the shared hash
|
84
83
|
Actions.lane_context[SharedValues::VERSION_NUMBER] = version_number
|
84
|
+
|
85
|
+
# Return the version number because Swift might need this return value
|
86
|
+
return version_number
|
85
87
|
rescue => ex
|
86
88
|
UI.error('Before being able to increment and read the version number from your Xcode project, you first need to setup your project properly. Please follow the guide at https://developer.apple.com/library/content/qa/qa1827/_index.html')
|
87
89
|
raise ex
|
@@ -148,6 +150,10 @@ module Fastlane
|
|
148
150
|
]
|
149
151
|
end
|
150
152
|
|
153
|
+
def self.return_type
|
154
|
+
:string
|
155
|
+
end
|
156
|
+
|
151
157
|
def self.category
|
152
158
|
:project
|
153
159
|
end
|
@@ -88,6 +88,7 @@ module Fastlane
|
|
88
88
|
env_name: "FL_GITHUB_API_TOKEN",
|
89
89
|
description: "Personal API Token for GitHub - generate one at https://github.com/settings/tokens",
|
90
90
|
sensitive: true,
|
91
|
+
code_gen_sensitive: true,
|
91
92
|
is_string: true,
|
92
93
|
default_value: ENV["GITHUB_API_TOKEN"],
|
93
94
|
optional: false),
|
@@ -34,7 +34,7 @@ module Fastlane
|
|
34
34
|
default_value: 'fastlane/Fastfile',
|
35
35
|
optional: true),
|
36
36
|
FastlaneCore::ConfigItem.new(key: :version,
|
37
|
-
description: "The version to checkout on the respository. Optimistic operator can be used to select the latest version within constraints",
|
37
|
+
description: "The version to checkout on the respository. Optimistic match operator or multiple conditions can be used to select the latest version within constraints",
|
38
38
|
default_value: nil,
|
39
39
|
optional: true)
|
40
40
|
]
|
@@ -54,7 +54,13 @@ module Fastlane
|
|
54
54
|
url: "git@github.com:fastlane/fastlane.git", # The URL of the repository to import the Fastfile from.
|
55
55
|
branch: "HEAD", # The branch to checkout on the repository. Defaults to `HEAD`.
|
56
56
|
path: "fastlane/Fastfile" # The path of the Fastfile in the repository. Defaults to `fastlane/Fastfile`.
|
57
|
-
version: "~> 1.0.0" #The version to checkout on the
|
57
|
+
version: "~> 1.0.0" # The version to checkout on the repository. Optimistic match operator can be used to select the latest version within constraints.
|
58
|
+
)',
|
59
|
+
'import_from_git(
|
60
|
+
url: "git@github.com:fastlane/fastlane.git", # The URL of the repository to import the Fastfile from.
|
61
|
+
branch: "HEAD", # The branch to checkout on the repository. Defaults to `HEAD`.
|
62
|
+
path: "fastlane/Fastfile" # The path of the Fastfile in the repository. Defaults to `fastlane/Fastfile`.
|
63
|
+
version: [">= 1.1.0", "< 2.0.0"] # The version to checkout on the repository. Multiple conditions can be used to select the latest version within constraints.
|
58
64
|
)'
|
59
65
|
]
|
60
66
|
end
|
@@ -43,6 +43,7 @@ module Fastlane
|
|
43
43
|
short_option: "-a",
|
44
44
|
env_name: "FASTLANE_APP_IDENTIFIER",
|
45
45
|
description: "The bundle identifier of your app",
|
46
|
+
code_gen_sensitive: true,
|
46
47
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
|
47
48
|
FastlaneCore::ConfigItem.new(key: :username,
|
48
49
|
short_option: "-u",
|
@@ -74,6 +75,7 @@ module Fastlane
|
|
74
75
|
description: "The ID of your iTunes Connect team if you're in multiple teams",
|
75
76
|
optional: true,
|
76
77
|
is_string: false, # as we also allow integers, which we convert to strings anyway
|
78
|
+
code_gen_sensitive: true,
|
77
79
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
|
78
80
|
verify_block: proc do |value|
|
79
81
|
ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
|
@@ -83,6 +85,7 @@ module Fastlane
|
|
83
85
|
env_name: "LATEST_TESTFLIGHT_BUILD_NUMBER_TEAM_NAME",
|
84
86
|
description: "The name of your iTunes Connect team if you're in multiple teams",
|
85
87
|
optional: true,
|
88
|
+
code_gen_sensitive: true,
|
86
89
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|
87
90
|
verify_block: proc do |value|
|
88
91
|
ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
|
@@ -97,6 +97,7 @@ module Fastlane
|
|
97
97
|
env_name: "PRODUCE_APP_IDENTIFIER",
|
98
98
|
short_option: "-a",
|
99
99
|
description: "App Identifier (Bundle ID, e.g. com.krausefx.app)",
|
100
|
+
code_gen_sensitive: true,
|
100
101
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
|
101
102
|
FastlaneCore::ConfigItem.new(key: :services,
|
102
103
|
display_in_shell: false,
|
@@ -117,6 +118,7 @@ module Fastlane
|
|
117
118
|
env_name: "PRODUCE_TEAM_ID",
|
118
119
|
description: "The ID of your Developer Portal team if you're in multiple teams",
|
119
120
|
optional: true,
|
121
|
+
code_gen_sensitive: true,
|
120
122
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
|
121
123
|
verify_block: proc do |value|
|
122
124
|
ENV["FASTLANE_TEAM_ID"] = value.to_s
|
@@ -126,6 +128,7 @@ module Fastlane
|
|
126
128
|
env_name: "PRODUCE_TEAM_NAME",
|
127
129
|
description: "The name of your Developer Portal team if you're in multiple teams",
|
128
130
|
optional: true,
|
131
|
+
code_gen_sensitive: true,
|
129
132
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
|
130
133
|
verify_block: proc do |value|
|
131
134
|
ENV["FASTLANE_TEAM_NAME"] = value.to_s
|
@@ -43,6 +43,7 @@ module Fastlane
|
|
43
43
|
description: "Provide the UDID of the device to register as"),
|
44
44
|
FastlaneCore::ConfigItem.new(key: :team_id,
|
45
45
|
env_name: "REGISTER_DEVICE_TEAM_ID",
|
46
|
+
code_gen_sensitive: true,
|
46
47
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
|
47
48
|
description: "The ID of your Developer Portal team if you're in multiple teams",
|
48
49
|
optional: true,
|
@@ -53,6 +54,7 @@ module Fastlane
|
|
53
54
|
env_name: "REGISTER_DEVICE_TEAM_NAME",
|
54
55
|
description: "The name of your Developer Portal team if you're in multiple teams",
|
55
56
|
optional: true,
|
57
|
+
code_gen_sensitive: true,
|
56
58
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
|
57
59
|
verify_block: proc do |value|
|
58
60
|
ENV["FASTLANE_TEAM_NAME"] = value.to_s
|
@@ -73,6 +73,7 @@ module Fastlane
|
|
73
73
|
end),
|
74
74
|
FastlaneCore::ConfigItem.new(key: :team_id,
|
75
75
|
env_name: "REGISTER_DEVICES_TEAM_ID",
|
76
|
+
code_gen_sensitive: true,
|
76
77
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
|
77
78
|
description: "The ID of your Developer Portal team if you're in multiple teams",
|
78
79
|
optional: true,
|
@@ -83,6 +84,7 @@ module Fastlane
|
|
83
84
|
env_name: "REGISTER_DEVICES_TEAM_NAME",
|
84
85
|
description: "The name of your Developer Portal team if you're in multiple teams",
|
85
86
|
optional: true,
|
87
|
+
code_gen_sensitive: true,
|
86
88
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
|
87
89
|
verify_block: proc do |value|
|
88
90
|
ENV["FASTLANE_TEAM_NAME"] = value.to_s
|
@@ -376,11 +376,13 @@ module Fastlane
|
|
376
376
|
env_name: "S3_BUCKET",
|
377
377
|
description: "AWS bucket name",
|
378
378
|
optional: true,
|
379
|
+
code_gen_sensitive: true,
|
379
380
|
default_value: ENV['AWS_BUCKET_NAME']),
|
380
381
|
FastlaneCore::ConfigItem.new(key: :region,
|
381
382
|
env_name: "S3_REGION",
|
382
383
|
description: "AWS region (for bucket creation) ",
|
383
384
|
optional: true,
|
385
|
+
code_gen_sensitive: true,
|
384
386
|
default_value: ENV['AWS_REGION']),
|
385
387
|
FastlaneCore::ConfigItem.new(key: :path,
|
386
388
|
env_name: "S3_PATH",
|
@@ -97,6 +97,7 @@ module Fastlane
|
|
97
97
|
short_option: "-a",
|
98
98
|
env_name: "FASTLANE_APP_IDENTIFIER",
|
99
99
|
description: "The bundle identifier of your app",
|
100
|
+
code_gen_sensitive: true,
|
100
101
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
|
101
102
|
FastlaneCore::ConfigItem.new(key: :username,
|
102
103
|
short_option: "-u",
|
@@ -117,6 +118,7 @@ module Fastlane
|
|
117
118
|
description: "The ID of your iTunes Connect team if you're in multiple teams",
|
118
119
|
optional: true,
|
119
120
|
is_string: false, # as we also allow integers, which we convert to strings anyway
|
121
|
+
code_gen_sensitive: true,
|
120
122
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
|
121
123
|
verify_block: proc do |value|
|
122
124
|
ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
|
@@ -126,6 +128,7 @@ module Fastlane
|
|
126
128
|
env_name: "FL_SET_CHANGELOG_TEAM_NAME",
|
127
129
|
description: "The name of your iTunes Connect team if you're in multiple teams",
|
128
130
|
optional: true,
|
131
|
+
code_gen_sensitive: true,
|
129
132
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|
130
133
|
verify_block: proc do |value|
|
131
134
|
ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
|
@@ -174,6 +174,7 @@ module Fastlane
|
|
174
174
|
env_name: "FL_GITHUB_RELEASE_API_TOKEN",
|
175
175
|
description: "Personal API Token for GitHub - generate one at https://github.com/settings/tokens",
|
176
176
|
sensitive: true,
|
177
|
+
code_gen_sensitive: true,
|
177
178
|
is_string: true,
|
178
179
|
default_value: ENV["GITHUB_API_TOKEN"],
|
179
180
|
optional: false),
|
@@ -78,6 +78,7 @@ module Fastlane
|
|
78
78
|
FastlaneCore::ConfigItem.new(key: :xcodeproj,
|
79
79
|
env_name: "FL_UPDATE_APP_IDENTIFIER_PROJECT_PATH",
|
80
80
|
description: "Path to your Xcode project",
|
81
|
+
code_gen_sensitive: true,
|
81
82
|
default_value: Dir['*.xcodeproj'].first,
|
82
83
|
verify_block: proc do |value|
|
83
84
|
UI.user_error!("Please pass the path to the project, not the workspace") unless value.end_with?(".xcodeproj")
|
@@ -92,6 +93,7 @@ module Fastlane
|
|
92
93
|
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
93
94
|
env_name: 'FL_UPDATE_APP_IDENTIFIER',
|
94
95
|
description: 'The app Identifier you want to set',
|
96
|
+
code_gen_sensitive: true,
|
95
97
|
default_value: ENV['PRODUCE_APP_IDENTIFIER'] || CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier))
|
96
98
|
]
|
97
99
|
end
|
@@ -93,6 +93,7 @@ module Fastlane
|
|
93
93
|
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
94
94
|
env_name: 'FL_UPDATE_PLIST_APP_IDENTIFIER',
|
95
95
|
description: 'The App Identifier of your app',
|
96
|
+
code_gen_sensitive: true,
|
96
97
|
default_value: ENV['PRODUCE_APP_IDENTIFIER'],
|
97
98
|
optional: true),
|
98
99
|
FastlaneCore::ConfigItem.new(key: :display_name,
|
@@ -37,10 +37,12 @@ module Fastlane
|
|
37
37
|
FastlaneCore::ConfigItem.new(key: :udid,
|
38
38
|
env_name: "FL_PROJECT_SIGNING_UDID",
|
39
39
|
description: "DEPRECATED: see :uuid",
|
40
|
+
code_gen_sensitive: true,
|
40
41
|
default_value: ENV["SIGH_UUID"]),
|
41
42
|
FastlaneCore::ConfigItem.new(key: :uuid,
|
42
43
|
env_name: "FL_PROJECT_SIGNING_UUID",
|
43
44
|
description: "The UUID of the provisioning profile you want to use",
|
45
|
+
code_gen_sensitive: true,
|
44
46
|
default_value: ENV["SIGH_UUID"])
|
45
47
|
]
|
46
48
|
end
|