fastlane 2.82.0.beta.20180217010002 → 2.82.0.beta.20180218010003

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/cert/lib/cert/options.rb +5 -1
  3. data/deliver/lib/deliver/options.rb +10 -2
  4. data/fastlane/lib/assets/ActionDetails.md.erb +5 -4
  5. data/fastlane/lib/fastlane/actions/add_git_tag.rb +1 -0
  6. data/fastlane/lib/fastlane/actions/app_store_build_number.rb +6 -2
  7. data/fastlane/lib/fastlane/actions/appaloosa.rb +3 -1
  8. data/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb +1 -0
  9. data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -0
  10. data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +1 -0
  11. data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -0
  12. data/fastlane/lib/fastlane/actions/crashlytics.rb +2 -0
  13. data/fastlane/lib/fastlane/actions/create_pull_request.rb +2 -0
  14. data/fastlane/lib/fastlane/actions/deploygate.rb +2 -0
  15. data/fastlane/lib/fastlane/actions/dotgpg_environment.rb +1 -0
  16. data/fastlane/lib/fastlane/actions/download_dsyms.rb +6 -2
  17. data/fastlane/lib/fastlane/actions/dsym_zip.rb +1 -0
  18. data/fastlane/lib/fastlane/actions/frame_screenshots.rb +2 -1
  19. data/fastlane/lib/fastlane/actions/get_ipa_info_plist_value.rb +2 -1
  20. data/fastlane/lib/fastlane/actions/github_api.rb +1 -0
  21. data/fastlane/lib/fastlane/actions/hockey.rb +7 -1
  22. data/fastlane/lib/fastlane/actions/install_on_device.rb +1 -0
  23. data/fastlane/lib/fastlane/actions/installr.rb +1 -0
  24. data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +6 -2
  25. data/fastlane/lib/fastlane/actions/modify_services.rb +6 -2
  26. data/fastlane/lib/fastlane/actions/read_podspec.rb +1 -0
  27. data/fastlane/lib/fastlane/actions/register_device.rb +4 -1
  28. data/fastlane/lib/fastlane/actions/register_devices.rb +4 -1
  29. data/fastlane/lib/fastlane/actions/resign.rb +2 -0
  30. data/fastlane/lib/fastlane/actions/s3.rb +14 -6
  31. data/fastlane/lib/fastlane/actions/set_changelog.rb +6 -2
  32. data/fastlane/lib/fastlane/actions/set_github_release.rb +3 -1
  33. data/fastlane/lib/fastlane/actions/testfairy.rb +2 -0
  34. data/fastlane/lib/fastlane/actions/tryouts.rb +1 -0
  35. data/fastlane/lib/fastlane/actions/update_app_identifier.rb +3 -1
  36. data/fastlane/lib/fastlane/actions/update_info_plist.rb +1 -0
  37. data/fastlane/lib/fastlane/actions/update_project_code_signing.rb +4 -2
  38. data/fastlane/lib/fastlane/actions/update_project_provisioning.rb +1 -0
  39. data/fastlane/lib/fastlane/actions/update_project_team.rb +3 -1
  40. data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +1 -0
  41. data/fastlane/lib/fastlane/actions/upload_symbols_to_sentry.rb +2 -0
  42. data/fastlane/lib/fastlane/actions/verify_xcode.rb +1 -0
  43. data/fastlane/lib/fastlane/actions/version_bump_podspec.rb +1 -0
  44. data/fastlane/lib/fastlane/actions/version_get_podspec.rb +1 -0
  45. data/fastlane/lib/fastlane/actions/xcode_install.rb +4 -2
  46. data/fastlane/lib/fastlane/documentation/actions_list.rb +7 -1
  47. data/fastlane/lib/fastlane/erb_template_helper.rb +8 -3
  48. data/fastlane/lib/fastlane/version.rb +1 -1
  49. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +8 -0
  50. data/frameit/lib/frameit/options.rb +2 -1
  51. data/gym/lib/gym/options.rb +2 -1
  52. data/match/lib/match/options.rb +6 -2
  53. data/pem/lib/pem/options.rb +6 -2
  54. data/pilot/lib/pilot/options.rb +10 -3
  55. data/precheck/lib/precheck/options.rb +6 -2
  56. data/produce/lib/produce/options.rb +9 -2
  57. data/scan/lib/scan/options.rb +4 -2
  58. data/screengrab/lib/screengrab/options.rb +6 -1
  59. data/sigh/lib/sigh/options.rb +6 -2
  60. data/snapshot/lib/snapshot/options.rb +6 -3
  61. data/spaceship/lib/spaceship/tunes/iap.rb +45 -0
  62. data/spaceship/lib/spaceship/tunes/iap_detail.rb +21 -1
  63. data/spaceship/lib/spaceship/tunes/iap_list.rb +7 -0
  64. data/spaceship/lib/spaceship/tunes/tunes_client.rb +18 -0
  65. data/supply/lib/supply/options.rb +9 -2
  66. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a11d8679bd35bf2a493ca6aad1947948860559d
4
- data.tar.gz: 193e733eb98002e2118e74d8c730ffd3e5d9ca13
3
+ metadata.gz: a6a7e3edd35555403868ae5549bce636e1d894b9
4
+ data.tar.gz: 414dba50035a1eccb3be2745d3de2c9f3324c853
5
5
  SHA512:
6
- metadata.gz: 6755e432387417029fa36003fc2eaa4d04aedfb85e6e129a070e27e2f8be3201b604cbe9193f142142024a74432105934343a861422507a08ce7fbc799fab32f
7
- data.tar.gz: 261c84fed0d56d13650ab7d8d1720230eaf93688d6748a74e72720a20ebeeadcfa9dc7b12420afd079e27f5aaee904882bd403285ddace6d9572197e15c4e36d
6
+ metadata.gz: 2120184d72e5b16c24af3cec13943315bbf710bdaf3559976105de0055548a89d4aa69628a3b722bdc704c1080cdc6762cf4fca002fb91ff75835bb123ee4acf
7
+ data.tar.gz: 81c25093b283e8b39cde68329e791354b9ff7aea247bbbdd122362cd061fd1b73a592aad20a23d9399a68d0af63cbe3ef20f79838c54773f4816e96edd5a520f
@@ -24,12 +24,14 @@ module Cert
24
24
  short_option: "-u",
25
25
  env_name: "CERT_USERNAME",
26
26
  description: "Your Apple ID Username",
27
- default_value: user),
27
+ default_value: user,
28
+ default_value_dynamic: true),
28
29
  FastlaneCore::ConfigItem.new(key: :team_id,
29
30
  short_option: "-b",
30
31
  env_name: "CERT_TEAM_ID",
31
32
  code_gen_sensitive: true,
32
33
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
34
+ default_value_dynamic: true,
33
35
  description: "The ID of your Developer Portal team if you're in multiple teams",
34
36
  optional: true,
35
37
  verify_block: proc do |value|
@@ -42,6 +44,7 @@ module Cert
42
44
  optional: true,
43
45
  code_gen_sensitive: true,
44
46
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
47
+ default_value_dynamic: true,
45
48
  verify_block: proc do |value|
46
49
  ENV["FASTLANE_TEAM_NAME"] = value.to_s
47
50
  end),
@@ -56,6 +59,7 @@ module Cert
56
59
  description: "Path to a custom keychain",
57
60
  code_gen_sensitive: true,
58
61
  default_value: Dir["#{Dir.home}/Library/Keychains/login.keychain", "#{Dir.home}/Library/Keychains/login.keychain-db"].last,
62
+ default_value_dynamic: true,
59
63
  verify_block: proc do |value|
60
64
  value = File.expand_path(value)
61
65
  UI.user_error!("Keychain not found at path '#{value}'") unless File.exist?(value)
@@ -17,14 +17,16 @@ module Deliver
17
17
  short_option: "-u",
18
18
  env_name: "DELIVER_USERNAME",
19
19
  description: "Your Apple ID Username",
20
- default_value: user),
20
+ default_value: user,
21
+ default_value_dynamic: true),
21
22
  FastlaneCore::ConfigItem.new(key: :app_identifier,
22
23
  short_option: "-a",
23
24
  env_name: "DELIVER_APP_IDENTIFIER",
24
25
  description: "The bundle identifier of your app",
25
26
  optional: true,
26
27
  code_gen_sensitive: true,
27
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
28
+ default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
29
+ default_value_dynamic: true),
28
30
  FastlaneCore::ConfigItem.new(key: :app,
29
31
  short_option: "-p",
30
32
  env_name: "DELIVER_APP_ID",
@@ -44,6 +46,7 @@ module Deliver
44
46
  description: "Path to your ipa file",
45
47
  code_gen_sensitive: true,
46
48
  default_value: Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last,
49
+ default_value_dynamic: true,
47
50
  verify_block: proc do |value|
48
51
  UI.user_error!("Could not find ipa file at path '#{File.expand_path(value)}'") unless File.exist?(value)
49
52
  UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with?(".ipa")
@@ -59,6 +62,7 @@ module Deliver
59
62
  description: "Path to your pkg file",
60
63
  code_gen_sensitive: true,
61
64
  default_value: Dir["*.pkg"].sort_by { |x| File.mtime(x) }.last,
65
+ default_value_dynamic: true,
62
66
  verify_block: proc do |value|
63
67
  UI.user_error!("Could not find pkg file at path '#{File.expand_path(value)}'") unless File.exist?(value)
64
68
  UI.user_error!("'#{value}' doesn't seem to be a pkg file") unless value.end_with?(".pkg")
@@ -171,6 +175,7 @@ module Deliver
171
175
  is_string: false, # as we also allow integers, which we convert to strings anyway
172
176
  code_gen_sensitive: true,
173
177
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
178
+ default_value_dynamic: true,
174
179
  verify_block: proc do |value|
175
180
  ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
176
181
  end),
@@ -181,6 +186,7 @@ module Deliver
181
186
  optional: true,
182
187
  code_gen_sensitive: true,
183
188
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
189
+ default_value_dynamic: true,
184
190
  verify_block: proc do |value|
185
191
  ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
186
192
  end),
@@ -192,6 +198,7 @@ module Deliver
192
198
  is_string: true,
193
199
  code_gen_sensitive: true,
194
200
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
201
+ default_value_dynamic: true,
195
202
  verify_block: proc do |value|
196
203
  ENV["FASTLANE_TEAM_ID"] = value.to_s
197
204
  end),
@@ -202,6 +209,7 @@ module Deliver
202
209
  optional: true,
203
210
  code_gen_sensitive: true,
204
211
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
212
+ default_value_dynamic: true,
205
213
  verify_block: proc do |value|
206
214
  ENV["FASTLANE_TEAM_NAME"] = value.to_s
207
215
  end),
@@ -39,14 +39,15 @@ Returns | <%= action.return_value %>
39
39
 
40
40
  ## Parameters
41
41
 
42
- Key | Description
43
- ----|------------
42
+ Key | Description | Default
43
+ ----|-------------|--------
44
44
  <%- (action.available_options || []).each do |config_item| -%>
45
45
  <%- next unless config_item.kind_of?(FastlaneCore::ConfigItem) -%>
46
46
  <%- next if config_item.description.to_s.length == 0 -%>
47
- `<%= config_item.key %>` | <%= config_item.description %>
47
+ `<%= config_item.key %>` | <%= config_item.description %> | <%= config_item.default_value.nil? ? "-" : (config_item.default_value_dynamic ? "*" : config_item.default_value) %>
48
48
  <%- end %>
49
-
49
+ _- = this parameter doesn't have a default value_<br/>
50
+ _* = this default value is dependent on the user's system_
50
51
  <% end %><%# End of action.available_options... %>
51
52
 
52
53
  <hr />
@@ -60,6 +60,7 @@ module Fastlane
60
60
  env_name: "FL_GIT_TAG_BUILD_NUMBER",
61
61
  description: "The build number. Defaults to the result of increment_build_number if you\'re using it",
62
62
  default_value: Actions.lane_context[Actions::SharedValues::BUILD_NUMBER],
63
+ default_value_dynamic: true,
63
64
  is_string: false),
64
65
  FastlaneCore::ConfigItem.new(key: :message,
65
66
  env_name: "FL_GIT_TAG_MESSAGE",
@@ -75,12 +75,14 @@ module Fastlane
75
75
  env_name: "FASTLANE_APP_IDENTIFIER",
76
76
  description: "The bundle identifier of your app",
77
77
  code_gen_sensitive: true,
78
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
78
+ default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
79
+ default_value_dynamic: true),
79
80
  FastlaneCore::ConfigItem.new(key: :username,
80
81
  short_option: "-u",
81
82
  env_name: "ITUNESCONNECT_USER",
82
83
  description: "Your Apple ID Username",
83
- default_value: user),
84
+ default_value: user,
85
+ default_value_dynamic: true),
84
86
  FastlaneCore::ConfigItem.new(key: :team_id,
85
87
  short_option: "-k",
86
88
  env_name: "APPSTORE_BUILD_NUMBER_LIVE_TEAM_ID",
@@ -89,6 +91,7 @@ module Fastlane
89
91
  is_string: false, # as we also allow integers, which we convert to strings anyway
90
92
  code_gen_sensitive: true,
91
93
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
94
+ default_value_dynamic: true,
92
95
  verify_block: proc do |value|
93
96
  ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
94
97
  end),
@@ -120,6 +123,7 @@ module Fastlane
120
123
  optional: true,
121
124
  code_gen_sensitive: true,
122
125
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
126
+ default_value_dynamic: true,
123
127
  verify_block: proc do |value|
124
128
  ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
125
129
  end)
@@ -186,6 +186,7 @@ module Fastlane
186
186
  env_name: 'FL_APPALOOSA_BINARY',
187
187
  description: 'Binary path. Optional for ipa if you use the `ipa` or `xcodebuild` action',
188
188
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
189
+ default_value_dynamic: true,
189
190
  verify_block: proc do |value|
190
191
  UI.user_error!("Couldn't find ipa || apk file at path '#{value}'") unless File.exist?(value)
191
192
  end),
@@ -204,7 +205,8 @@ module Fastlane
204
205
  FastlaneCore::ConfigItem.new(key: :screenshots,
205
206
  env_name: 'FL_APPALOOSA_SCREENSHOTS',
206
207
  description: 'Add some screenshots application to your store or hit [enter]',
207
- default_value: Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH]),
208
+ default_value: Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH],
209
+ default_value_dynamic: true),
208
210
  FastlaneCore::ConfigItem.new(key: :locale,
209
211
  env_name: 'FL_APPALOOSA_LOCALE',
210
212
  description: 'Select the folder locale for your screenshots',
@@ -53,6 +53,7 @@ module Fastlane
53
53
  is_string: true,
54
54
  sensitive: true,
55
55
  default_value: Actions.lane_context[SharedValues::APPETIZE_PUBLIC_KEY],
56
+ default_value_dynamic: true,
56
57
  optional: false,
57
58
  verify_block: proc do |value|
58
59
  if value.start_with?("private_")
@@ -100,6 +100,7 @@ module Fastlane
100
100
  description: "Path to your Xcode project",
101
101
  code_gen_sensitive: true,
102
102
  default_value: Dir['*.xcodeproj'].first,
103
+ default_value_dynamic: true,
103
104
  verify_block: proc do |value|
104
105
  UI.user_error!("Path is invalid") unless File.exist?(File.expand_path(value))
105
106
  end),
@@ -68,6 +68,7 @@ module Fastlane
68
68
  FastlaneCore::ConfigItem.new(key: :xcarchive,
69
69
  description: 'Path to your xcarchive file. Optional if you use the `xcodebuild` action',
70
70
  default_value: Actions.lane_context[SharedValues::XCODEBUILD_ARCHIVE],
71
+ default_value_dynamic: true,
71
72
  optional: false,
72
73
  env_name: 'BACKUP_XCARCHIVE_ARCHIVE',
73
74
  verify_block: proc do |value|
@@ -107,6 +107,7 @@ module Fastlane
107
107
  is_string: true,
108
108
  code_gen_sensitive: true,
109
109
  default_value: ENV["GITHUB_API_TOKEN"],
110
+ default_value_dynamic: true,
110
111
  optional: false),
111
112
  FastlaneCore::ConfigItem.new(key: :branch,
112
113
  env_name: "FL_COMMIT_GITHUB_FILE_BRANCH",
@@ -78,6 +78,7 @@ module Fastlane
78
78
  env_name: "CRASHLYTICS_IPA_PATH",
79
79
  description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action",
80
80
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || ipa_path_default,
81
+ default_value_dynamic: true,
81
82
  optional: true,
82
83
  verify_block: proc do |value|
83
84
  UI.user_error!("Couldn't find ipa file at path '#{value}'") unless File.exist?(value)
@@ -87,6 +88,7 @@ module Fastlane
87
88
  env_name: "CRASHLYTICS_APK_PATH",
88
89
  description: "Path to your APK file",
89
90
  default_value: Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] || apk_path_default,
91
+ default_value_dynamic: true,
90
92
  optional: true,
91
93
  verify_block: proc do |value|
92
94
  UI.user_error!("Couldn't find apk file at path '#{value}'") unless File.exist?(value)
@@ -54,6 +54,7 @@ module Fastlane
54
54
  sensitive: true,
55
55
  code_gen_sensitive: true,
56
56
  default_value: ENV["GITHUB_API_TOKEN"],
57
+ default_value_dynamic: true,
57
58
  is_string: true,
58
59
  optional: false),
59
60
  FastlaneCore::ConfigItem.new(key: :repo,
@@ -77,6 +78,7 @@ module Fastlane
77
78
  is_string: true,
78
79
  code_gen_sensitive: true,
79
80
  default_value: Actions.git_branch,
81
+ default_value_dynamic: true,
80
82
  optional: true),
81
83
  FastlaneCore::ConfigItem.new(key: :base,
82
84
  env_name: "GITHUB_PULL_REQUEST_BASE",
@@ -128,6 +128,7 @@ module Fastlane
128
128
  env_name: "DEPLOYGATE_IPA_PATH",
129
129
  description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action",
130
130
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
131
+ default_value_dynamic: true,
131
132
  optional: true,
132
133
  verify_block: proc do |value|
133
134
  UI.user_error!("Couldn't find ipa file at path '#{value}'") unless File.exist?(value)
@@ -136,6 +137,7 @@ module Fastlane
136
137
  env_name: "DEPLOYGATE_APK_PATH",
137
138
  description: "Path to your APK file",
138
139
  default_value: Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH],
140
+ default_value_dynamic: true,
139
141
  optional: true,
140
142
  verify_block: proc do |value|
141
143
  UI.user_error!("Couldn't find apk file at path '#{value}'") unless File.exist?(value)
@@ -27,6 +27,7 @@ module Fastlane
27
27
  description: "Path to your gpg file",
28
28
  code_gen_sensitive: true,
29
29
  default_value: Dir["dotgpg/*.gpg"].last,
30
+ default_value_dynamic: true,
30
31
  optional: false,
31
32
  verify_block: proc do |value|
32
33
  UI.user_error!("Dotgpg file '#{File.expand_path(value)}' not found") unless File.exist?(value)
@@ -143,14 +143,16 @@ module Fastlane
143
143
  short_option: "-u",
144
144
  env_name: "DOWNLOAD_DSYMS_USERNAME",
145
145
  description: "Your Apple ID Username for iTunes Connect",
146
- default_value: user),
146
+ default_value: user,
147
+ default_value_dynamic: true),
147
148
  FastlaneCore::ConfigItem.new(key: :app_identifier,
148
149
  short_option: "-a",
149
150
  env_name: "DOWNLOAD_DSYMS_APP_IDENTIFIER",
150
151
  description: "The bundle identifier of your app",
151
152
  optional: false,
152
153
  code_gen_sensitive: true,
153
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
154
+ default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
155
+ default_value_dynamic: true),
154
156
  FastlaneCore::ConfigItem.new(key: :team_id,
155
157
  short_option: "-k",
156
158
  env_name: "DOWNLOAD_DSYMS_TEAM_ID",
@@ -159,6 +161,7 @@ module Fastlane
159
161
  is_string: false, # as we also allow integers, which we convert to strings anyway
160
162
  code_gen_sensitive: true,
161
163
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
164
+ default_value_dynamic: true,
162
165
  verify_block: proc do |value|
163
166
  ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
164
167
  end),
@@ -169,6 +172,7 @@ module Fastlane
169
172
  optional: true,
170
173
  code_gen_sensitive: true,
171
174
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
175
+ default_value_dynamic: true,
172
176
  verify_block: proc do |value|
173
177
  ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
174
178
  end),
@@ -47,6 +47,7 @@ module Fastlane
47
47
  FastlaneCore::ConfigItem.new(key: :archive_path,
48
48
  description: 'Path to your xcarchive file. Optional if you use the `xcodebuild` action',
49
49
  default_value: Actions.lane_context[SharedValues::XCODEBUILD_ARCHIVE],
50
+ default_value_dynamic: true,
50
51
  optional: true,
51
52
  env_name: 'DSYM_ZIP_XCARCHIVE_PATH',
52
53
  verify_block: proc do |value|
@@ -32,7 +32,8 @@ module Fastlane
32
32
  FastlaneCore::ConfigItem.new(key: :path,
33
33
  env_name: "FRAMEIT_SCREENSHOTS_PATH",
34
34
  description: "The path to the directory containing the screenshots",
35
- default_value: Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH] || FastlaneCore::FastlaneFolder.path)
35
+ default_value: Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH] || FastlaneCore::FastlaneFolder.path,
36
+ default_value_dynamic: true)
36
37
  ]
37
38
  end
38
39
 
@@ -41,7 +41,8 @@ module Fastlane
41
41
  env_name: "FL_GET_IPA_INFO_PLIST_VALUE_IPA",
42
42
  description: "Path to IPA",
43
43
  is_string: true,
44
- default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH])
44
+ default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
45
+ default_value_dynamic: true)
45
46
  ]
46
47
  end
47
48
 
@@ -91,6 +91,7 @@ module Fastlane
91
91
  code_gen_sensitive: true,
92
92
  is_string: true,
93
93
  default_value: ENV["GITHUB_API_TOKEN"],
94
+ default_value_dynamic: true,
94
95
  optional: false),
95
96
  FastlaneCore::ConfigItem.new(key: :http_method,
96
97
  env_name: "FL_GITHUB_API_HTTP_METHOD",
@@ -5,6 +5,7 @@ module Fastlane
5
5
  HOCKEY_BUILD_INFORMATION = :HOCKEY_BUILD_INFORMATION # contains all keys/values from the HockeyApp API, like :title, :bundle_identifier
6
6
  end
7
7
 
8
+ # rubocop:disable Metrics/ClassLength
8
9
  class HockeyAction < Action
9
10
  def self.connection(options)
10
11
  require 'faraday'
@@ -191,6 +192,7 @@ module Fastlane
191
192
  env_name: "FL_HOCKEY_APK",
192
193
  description: "Path to your APK file",
193
194
  default_value: Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH],
195
+ default_value_dynamic: true,
194
196
  optional: true,
195
197
  verify_block: proc do |value|
196
198
  UI.user_error!("Couldn't find apk file at path '#{value}'") unless File.exist?(value)
@@ -210,6 +212,7 @@ module Fastlane
210
212
  env_name: "FL_HOCKEY_IPA",
211
213
  description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action. For Mac zip the .app. For Android provide path to .apk file. In addition you could use this to upload .msi, .zip, .pkg, etc if you use the 'create_update' mechanism",
212
214
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
215
+ default_value_dynamic: true,
213
216
  optional: true,
214
217
  verify_block: proc do |value|
215
218
  UI.user_error!("Couldn't find ipa file at path '#{value}'") unless File.exist?(value)
@@ -222,6 +225,7 @@ module Fastlane
222
225
  env_name: "FL_HOCKEY_DSYM",
223
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",
224
227
  default_value: Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH],
228
+ default_value_dynamic: true,
225
229
  optional: true,
226
230
  verify_block: proc do |value|
227
231
  # validation is done in the action
@@ -238,7 +242,8 @@ module Fastlane
238
242
  FastlaneCore::ConfigItem.new(key: :notes,
239
243
  env_name: "FL_HOCKEY_NOTES",
240
244
  description: "Beta Notes",
241
- default_value: Actions.lane_context[SharedValues::FL_CHANGELOG] || "No changelog given"),
245
+ default_value: Actions.lane_context[SharedValues::FL_CHANGELOG] || "No changelog given",
246
+ default_value_dynamic: true),
242
247
  FastlaneCore::ConfigItem.new(key: :notify,
243
248
  env_name: "FL_HOCKEY_NOTIFY",
244
249
  description: "Notify testers? \"1\" for yes",
@@ -379,5 +384,6 @@ module Fastlane
379
384
  :beta
380
385
  end
381
386
  end
387
+ # rubocop:enable Metrics/ClassLength
382
388
  end
383
389
  end
@@ -56,6 +56,7 @@ module Fastlane
56
56
  optional: true,
57
57
  is_string: true,
58
58
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || Dir["*.ipa"].first,
59
+ default_value_dynamic: true,
59
60
  verify_block: proc do |value|
60
61
  unless Helper.test?
61
62
  UI.user_error!("Could not find ipa file at path '#{value}'") unless File.exist?(value)
@@ -76,6 +76,7 @@ module Fastlane
76
76
  env_name: "INSTALLR_IPA_PATH",
77
77
  description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action",
78
78
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
79
+ default_value_dynamic: true,
79
80
  verify_block: proc do |value|
80
81
  UI.user_error!("Couldn't find build file at path '#{value}'") unless File.exist?(value)
81
82
  end),
@@ -44,12 +44,14 @@ module Fastlane
44
44
  env_name: "FASTLANE_APP_IDENTIFIER",
45
45
  description: "The bundle identifier of your app",
46
46
  code_gen_sensitive: true,
47
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
47
+ default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
48
+ default_value_dynamic: true),
48
49
  FastlaneCore::ConfigItem.new(key: :username,
49
50
  short_option: "-u",
50
51
  env_name: "ITUNESCONNECT_USER",
51
52
  description: "Your Apple ID Username",
52
- default_value: user),
53
+ default_value: user,
54
+ default_value_dynamic: true),
53
55
  FastlaneCore::ConfigItem.new(key: :version,
54
56
  env_name: "LATEST_VERSION",
55
57
  description: "The version number whose latest build number we want",
@@ -77,6 +79,7 @@ module Fastlane
77
79
  is_string: false, # as we also allow integers, which we convert to strings anyway
78
80
  code_gen_sensitive: true,
79
81
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
82
+ default_value_dynamic: true,
80
83
  verify_block: proc do |value|
81
84
  ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
82
85
  end),
@@ -87,6 +90,7 @@ module Fastlane
87
90
  optional: true,
88
91
  code_gen_sensitive: true,
89
92
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
93
+ default_value_dynamic: true,
90
94
  verify_block: proc do |value|
91
95
  ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
92
96
  end)