fastlane 2.185.0 → 2.188.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +96 -96
  3. data/fastlane/lib/fastlane/actions/appetize.rb +0 -7
  4. data/fastlane/lib/fastlane/actions/appium.rb +40 -65
  5. data/fastlane/lib/fastlane/actions/appledoc.rb +45 -45
  6. data/fastlane/lib/fastlane/actions/apteligent.rb +3 -2
  7. data/fastlane/lib/fastlane/actions/artifactory.rb +5 -6
  8. data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +7 -13
  9. data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +2 -2
  10. data/fastlane/lib/fastlane/actions/badge.rb +9 -13
  11. data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +1 -3
  12. data/fastlane/lib/fastlane/actions/bundle_install.rb +8 -10
  13. data/fastlane/lib/fastlane/actions/carthage.rb +1 -15
  14. data/fastlane/lib/fastlane/actions/changelog_from_git_commits.rb +8 -17
  15. data/fastlane/lib/fastlane/actions/chatwork.rb +3 -2
  16. data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +0 -1
  17. data/fastlane/lib/fastlane/actions/clean_cocoapods_cache.rb +0 -1
  18. data/fastlane/lib/fastlane/actions/cloc.rb +9 -13
  19. data/fastlane/lib/fastlane/actions/cocoapods.rb +9 -15
  20. data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -3
  21. data/fastlane/lib/fastlane/actions/commit_version_bump.rb +6 -7
  22. data/fastlane/lib/fastlane/actions/copy_artifacts.rb +3 -4
  23. data/fastlane/lib/fastlane/actions/crashlytics.rb +7 -11
  24. data/fastlane/lib/fastlane/actions/create_app_on_managed_play_store.rb +70 -76
  25. data/fastlane/lib/fastlane/actions/create_keychain.rb +13 -11
  26. data/fastlane/lib/fastlane/actions/create_pull_request.rb +0 -9
  27. data/fastlane/lib/fastlane/actions/danger.rb +6 -11
  28. data/fastlane/lib/fastlane/actions/deploygate.rb +1 -2
  29. data/fastlane/lib/fastlane/actions/docs/build_app.md +1 -1
  30. data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +26 -27
  31. data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +2 -2
  32. data/fastlane/lib/fastlane/actions/docs/create_app_online.md +171 -67
  33. data/fastlane/lib/fastlane/actions/download_app_privacy_details_from_app_store.rb +1 -1
  34. data/fastlane/lib/fastlane/actions/download_dsyms.rb +3 -4
  35. data/fastlane/lib/fastlane/actions/dsym_zip.rb +1 -1
  36. data/fastlane/lib/fastlane/actions/ensure_git_branch.rb +0 -1
  37. data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +3 -4
  38. data/fastlane/lib/fastlane/actions/ensure_no_debug_code.rb +3 -5
  39. data/fastlane/lib/fastlane/actions/ensure_xcode_version.rb +1 -2
  40. data/fastlane/lib/fastlane/actions/environment_variable.rb +13 -21
  41. data/fastlane/lib/fastlane/actions/erb.rb +2 -5
  42. data/fastlane/lib/fastlane/actions/get_build_number_repository.rb +1 -1
  43. data/fastlane/lib/fastlane/actions/get_ipa_info_plist_value.rb +0 -1
  44. data/fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb +29 -34
  45. data/fastlane/lib/fastlane/actions/get_push_certificate.rb +1 -1
  46. data/fastlane/lib/fastlane/actions/git_add.rb +5 -10
  47. data/fastlane/lib/fastlane/actions/git_commit.rb +2 -6
  48. data/fastlane/lib/fastlane/actions/git_remote_branch.rb +57 -0
  49. data/fastlane/lib/fastlane/actions/github_api.rb +2 -5
  50. data/fastlane/lib/fastlane/actions/gradle.rb +12 -20
  51. data/fastlane/lib/fastlane/actions/hg_commit_version_bump.rb +1 -1
  52. data/fastlane/lib/fastlane/actions/hg_push.rb +1 -1
  53. data/fastlane/lib/fastlane/actions/hipchat.rb +4 -5
  54. data/fastlane/lib/fastlane/actions/hockey.rb +5 -12
  55. data/fastlane/lib/fastlane/actions/ifttt.rb +3 -6
  56. data/fastlane/lib/fastlane/actions/import_from_git.rb +2 -4
  57. data/fastlane/lib/fastlane/actions/increment_build_number.rb +1 -2
  58. data/fastlane/lib/fastlane/actions/install_on_device.rb +3 -6
  59. data/fastlane/lib/fastlane/actions/installr.rb +22 -25
  60. data/fastlane/lib/fastlane/actions/ipa.rb +2 -2
  61. data/fastlane/lib/fastlane/actions/jazzy.rb +8 -14
  62. data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +3 -4
  63. data/fastlane/lib/fastlane/actions/lcov.rb +0 -4
  64. data/fastlane/lib/fastlane/actions/mailgun.rb +21 -27
  65. data/fastlane/lib/fastlane/actions/make_changelog_from_jenkins.rb +1 -1
  66. data/fastlane/lib/fastlane/actions/modify_services.rb +59 -24
  67. data/fastlane/lib/fastlane/actions/nexus_upload.rb +2 -2
  68. data/fastlane/lib/fastlane/actions/notarize.rb +1 -4
  69. data/fastlane/lib/fastlane/actions/number_of_commits.rb +1 -1
  70. data/fastlane/lib/fastlane/actions/oclint.rb +15 -14
  71. data/fastlane/lib/fastlane/actions/pod_push.rb +0 -2
  72. data/fastlane/lib/fastlane/actions/podio_item.rb +0 -7
  73. data/fastlane/lib/fastlane/actions/prompt.rb +3 -4
  74. data/fastlane/lib/fastlane/actions/push_git_tags.rb +1 -1
  75. data/fastlane/lib/fastlane/actions/puts.rb +1 -2
  76. data/fastlane/lib/fastlane/actions/register_devices.rb +0 -1
  77. data/fastlane/lib/fastlane/actions/reset_git_repo.rb +5 -8
  78. data/fastlane/lib/fastlane/actions/reset_simulator_contents.rb +0 -2
  79. data/fastlane/lib/fastlane/actions/resign.rb +2 -9
  80. data/fastlane/lib/fastlane/actions/rsync.rb +3 -6
  81. data/fastlane/lib/fastlane/actions/run_tests.rb +1 -1
  82. data/fastlane/lib/fastlane/actions/s3.rb +1 -1
  83. data/fastlane/lib/fastlane/actions/say.rb +2 -3
  84. data/fastlane/lib/fastlane/actions/scp.rb +4 -10
  85. data/fastlane/lib/fastlane/actions/set_build_number_repository.rb +1 -1
  86. data/fastlane/lib/fastlane/actions/set_changelog.rb +1 -1
  87. data/fastlane/lib/fastlane/actions/set_github_release.rb +2 -8
  88. data/fastlane/lib/fastlane/actions/set_info_plist_value.rb +1 -1
  89. data/fastlane/lib/fastlane/actions/set_pod_key.rb +3 -4
  90. data/fastlane/lib/fastlane/actions/setup_ci.rb +1 -2
  91. data/fastlane/lib/fastlane/actions/setup_circle_ci.rb +1 -1
  92. data/fastlane/lib/fastlane/actions/setup_jenkins.rb +7 -12
  93. data/fastlane/lib/fastlane/actions/setup_travis.rb +1 -1
  94. data/fastlane/lib/fastlane/actions/sh.rb +2 -4
  95. data/fastlane/lib/fastlane/actions/slack.rb +6 -8
  96. data/fastlane/lib/fastlane/actions/slather.rb +3 -19
  97. data/fastlane/lib/fastlane/actions/sonar.rb +12 -19
  98. data/fastlane/lib/fastlane/actions/sourcedocs.rb +62 -98
  99. data/fastlane/lib/fastlane/actions/splunkmint.rb +2 -2
  100. data/fastlane/lib/fastlane/actions/spm.rb +3 -3
  101. data/fastlane/lib/fastlane/actions/ssh.rb +5 -10
  102. data/fastlane/lib/fastlane/actions/testfairy.rb +0 -1
  103. data/fastlane/lib/fastlane/actions/tryouts.rb +2 -3
  104. data/fastlane/lib/fastlane/actions/twitter.rb +0 -5
  105. data/fastlane/lib/fastlane/actions/unlock_keychain.rb +3 -3
  106. data/fastlane/lib/fastlane/actions/update_app_group_identifiers.rb +1 -4
  107. data/fastlane/lib/fastlane/actions/update_code_signing_settings.rb +8 -15
  108. data/fastlane/lib/fastlane/actions/update_fastlane.rb +2 -2
  109. data/fastlane/lib/fastlane/actions/update_icloud_container_identifiers.rb +1 -4
  110. data/fastlane/lib/fastlane/actions/update_info_plist.rb +1 -1
  111. data/fastlane/lib/fastlane/actions/update_keychain_access_groups.rb +1 -4
  112. data/fastlane/lib/fastlane/actions/update_plist.rb +1 -1
  113. data/fastlane/lib/fastlane/actions/update_project_provisioning.rb +2 -2
  114. data/fastlane/lib/fastlane/actions/update_urban_airship_configuration.rb +0 -1
  115. data/fastlane/lib/fastlane/actions/update_url_schemes.rb +15 -26
  116. data/fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb +1 -2
  117. data/fastlane/lib/fastlane/actions/upload_symbols_to_sentry.rb +3 -10
  118. data/fastlane/lib/fastlane/actions/validate_play_store_json_key.rb +40 -44
  119. data/fastlane/lib/fastlane/actions/version_get_podspec.rb +1 -2
  120. data/fastlane/lib/fastlane/actions/xcode_server_get_assets.rb +3 -3
  121. data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
  122. data/fastlane/lib/fastlane/documentation/markdown_docs_generator.rb +1 -1
  123. data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +4 -4
  124. data/fastlane/lib/fastlane/helper/git_helper.rb +17 -5
  125. data/fastlane/lib/fastlane/plugins/template/.circleci/config.yml +1 -1
  126. data/fastlane/lib/fastlane/plugins/template/.github/workflows/test.yml +1 -1
  127. data/fastlane/lib/fastlane/setup/setup_ios.rb +3 -3
  128. data/fastlane/lib/fastlane/swift_fastlane_function.rb +4 -4
  129. data/fastlane/lib/fastlane/version.rb +1 -1
  130. data/fastlane/swift/Deliverfile.swift +1 -1
  131. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  132. data/fastlane/swift/Fastlane.swift +1239 -1222
  133. data/fastlane/swift/Gymfile.swift +1 -1
  134. data/fastlane/swift/GymfileProtocol.swift +1 -1
  135. data/fastlane/swift/Matchfile.swift +1 -1
  136. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  137. data/fastlane/swift/Precheckfile.swift +1 -1
  138. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  139. data/fastlane/swift/Scanfile.swift +1 -1
  140. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  141. data/fastlane/swift/Screengrabfile.swift +1 -1
  142. data/fastlane/swift/ScreengrabfileProtocol.swift +4 -4
  143. data/fastlane/swift/Snapshotfile.swift +1 -1
  144. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  145. data/fastlane/swift/formatting/Brewfile.lock.json +19 -11
  146. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +13 -0
  147. data/fastlane_core/lib/fastlane_core/print_table.rb +5 -3
  148. data/fastlane_core/lib/fastlane_core/project.rb +7 -3
  149. data/match/lib/match/importer.rb +3 -0
  150. data/match/lib/match/nuke.rb +2 -3
  151. data/pilot/lib/pilot.rb +0 -1
  152. data/pilot/lib/pilot/build_manager.rb +0 -3
  153. data/pilot/lib/pilot/manager.rb +4 -1
  154. data/produce/lib/produce/commands_generator.rb +99 -27
  155. data/produce/lib/produce/developer_center.rb +42 -4
  156. data/produce/lib/produce/options.rb +1 -1
  157. data/produce/lib/produce/service.rb +270 -179
  158. data/screengrab/lib/screengrab/android_environment.rb +2 -52
  159. data/screengrab/lib/screengrab/dependency_checker.rb +0 -20
  160. data/screengrab/lib/screengrab/options.rb +5 -2
  161. data/screengrab/lib/screengrab/runner.rb +109 -107
  162. data/snapshot/lib/assets/SnapfileTemplate +2 -1
  163. data/snapshot/lib/assets/SnapfileTemplate.swift +2 -1
  164. data/snapshot/lib/assets/SnapshotHelper.swift +14 -10
  165. data/snapshot/lib/snapshot/reports_generator.rb +3 -1
  166. data/snapshot/lib/snapshot/test_command_generator.rb +17 -3
  167. data/spaceship/lib/spaceship/client.rb +13 -3
  168. data/spaceship/lib/spaceship/connect_api/api_client.rb +30 -5
  169. data/spaceship/lib/spaceship/connect_api/models/{.app_store_version_submission.rb.swp → .bundle_id.rb.swp} +0 -0
  170. data/spaceship/lib/spaceship/connect_api/models/beta_tester.rb +3 -1
  171. data/spaceship/lib/spaceship/connect_api/models/build.rb +3 -1
  172. data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +8 -0
  173. data/spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb +58 -17
  174. data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +41 -1
  175. data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +13 -0
  176. data/spaceship/lib/spaceship/portal/.app.rb.swp +0 -0
  177. data/spaceship/lib/spaceship/spaceauth_runner.rb +19 -6
  178. metadata +25 -28
  179. data/fastlane/lib/fastlane/.erb_template_helper.rb.swp +0 -0
  180. data/fastlane/lib/fastlane/actions/.git_commit.rb.swp +0 -0
  181. data/gym/lib/gym/generators/.package_command_generator_xcode7.rb.swp +0 -0
  182. data/pilot/lib/pilot/features.rb +0 -0
  183. data/spaceship/lib/spaceship/.DS_Store +0 -0
@@ -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
- is_string: false),
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
- is_string: false,
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
- is_string: false),
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
- is_string: false),
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
- is_string: false),
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
- is_string: false,
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
- is_string: false,
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
- is_string: false,
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
  ]
@@ -53,18 +53,15 @@ module Fastlane
53
53
  FastlaneCore::ConfigItem.new(key: :value1,
54
54
  env_name: "IFTTT_VALUE1",
55
55
  description: "Extra data sent with the event",
56
- optional: true,
57
- is_string: true),
56
+ optional: true),
58
57
  FastlaneCore::ConfigItem.new(key: :value2,
59
58
  env_name: "IFTTT_VALUE2",
60
59
  description: "Extra data sent with the event",
61
- optional: true,
62
- is_string: true),
60
+ optional: true),
63
61
  FastlaneCore::ConfigItem.new(key: :value3,
64
62
  env_name: "IFTTT_VALUE3",
65
63
  description: "Extra data sent with the event",
66
- optional: true,
67
- is_string: true)
64
+ optional: true)
68
65
  ]
69
66
  end
70
67
 
@@ -24,7 +24,7 @@ module Fastlane
24
24
  # `conflicting_options`, `verify_block`) are completely ignored.
25
25
  FastlaneCore::ConfigItem.new(key: :url,
26
26
  description: "The URL of the repository to import the Fastfile from",
27
- default_value: nil),
27
+ optional: true),
28
28
  FastlaneCore::ConfigItem.new(key: :branch,
29
29
  description: "The branch or tag to check-out on the repository",
30
30
  default_value: 'HEAD',
@@ -39,12 +39,10 @@ module Fastlane
39
39
  optional: true),
40
40
  FastlaneCore::ConfigItem.new(key: :version,
41
41
  description: "The version to checkout on the repository. Optimistic match operator or multiple conditions can be used to select the latest version within constraints",
42
- default_value: nil,
43
- is_string: false,
42
+ type: Array,
44
43
  optional: true),
45
44
  FastlaneCore::ConfigItem.new(key: :cache_path,
46
45
  description: "The path to a directory where the repository should be cloned into. Defaults to `nil`, which causes the repository to be cloned on every call, to a temporary directory",
47
- default_value: nil,
48
46
  optional: true)
49
47
  ]
50
48
  end
@@ -66,11 +66,10 @@ module Fastlane
66
66
  env_name: "FL_BUILD_NUMBER_BUILD_NUMBER",
67
67
  description: "Change to a specific version. When you provide this parameter, Apple Generic Versioning does not have to be enabled",
68
68
  optional: true,
69
- is_string: false),
69
+ skip_type_validation: true), # allow Integer, String
70
70
  FastlaneCore::ConfigItem.new(key: :skip_info_plist,
71
71
  env_name: "FL_BUILD_NUMBER_SKIP_INFO_PLIST",
72
72
  description: "Don't update Info.plist files when updating the build version",
73
- is_string: false,
74
73
  type: Boolean,
75
74
  default_value: false),
76
75
  FastlaneCore::ConfigItem.new(key: :xcodeproj,
@@ -35,26 +35,23 @@ module Fastlane
35
35
  short_option: "-X",
36
36
  env_name: "FL_IOD_EXTRA",
37
37
  description: "Extra Commandline arguments passed to ios-deploy",
38
- optional: true,
39
- is_string: true),
38
+ optional: true),
40
39
  FastlaneCore::ConfigItem.new(key: :device_id,
41
40
  short_option: "-d",
42
41
  env_name: "FL_IOD_DEVICE_ID",
43
42
  description: "id of the device / if not set defaults to first found device",
44
- optional: true,
45
- is_string: true),
43
+ optional: true),
46
44
  FastlaneCore::ConfigItem.new(key: :skip_wifi,
47
45
  short_option: "-w",
48
46
  env_name: "FL_IOD_WIFI",
49
47
  description: "Do not search for devices via WiFi",
50
48
  optional: true,
51
- is_string: false),
49
+ type: Boolean),
52
50
  FastlaneCore::ConfigItem.new(key: :ipa,
53
51
  short_option: "-i",
54
52
  env_name: "FL_IOD_IPA",
55
53
  description: "The IPA file to put on the device",
56
54
  optional: true,
57
- is_string: true,
58
55
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || Dir["*.ipa"].first,
59
56
  default_value_dynamic: true,
60
57
  verify_block: proc do |value|
@@ -66,35 +66,32 @@ module Fastlane
66
66
  def self.available_options
67
67
  [
68
68
  FastlaneCore::ConfigItem.new(key: :api_token,
69
- env_name: "INSTALLR_API_TOKEN",
70
- sensitive: true,
71
- description: "API Token for Installr Access",
72
- verify_block: proc do |value|
73
- UI.user_error!("No API token for Installr given, pass using `api_token: 'token'`") unless value && !value.empty?
74
- end),
69
+ env_name: "INSTALLR_API_TOKEN",
70
+ sensitive: true,
71
+ description: "API Token for Installr Access",
72
+ verify_block: proc do |value|
73
+ UI.user_error!("No API token for Installr given, pass using `api_token: 'token'`") unless value && !value.empty?
74
+ end),
75
75
  FastlaneCore::ConfigItem.new(key: :ipa,
76
- env_name: "INSTALLR_IPA_PATH",
77
- description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action",
78
- default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
79
- default_value_dynamic: true,
80
- verify_block: proc do |value|
81
- UI.user_error!("Couldn't find build file at path '#{value}'") unless File.exist?(value)
82
- end),
76
+ env_name: "INSTALLR_IPA_PATH",
77
+ description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action",
78
+ default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
79
+ default_value_dynamic: true,
80
+ verify_block: proc do |value|
81
+ UI.user_error!("Couldn't find build file at path '#{value}'") unless File.exist?(value)
82
+ end),
83
83
  FastlaneCore::ConfigItem.new(key: :notes,
84
- env_name: "INSTALLR_NOTES",
85
- description: "Release notes",
86
- is_string: true,
87
- optional: true),
84
+ env_name: "INSTALLR_NOTES",
85
+ description: "Release notes",
86
+ optional: true),
88
87
  FastlaneCore::ConfigItem.new(key: :notify,
89
- env_name: "INSTALLR_NOTIFY",
90
- description: "Groups to notify (e.g. 'dev,qa')",
91
- is_string: true,
92
- optional: true),
88
+ env_name: "INSTALLR_NOTIFY",
89
+ description: "Groups to notify (e.g. 'dev,qa')",
90
+ optional: true),
93
91
  FastlaneCore::ConfigItem.new(key: :add,
94
- env_name: "INSTALLR_ADD",
95
- description: "Groups to add (e.g. 'exec,ops')",
96
- is_string: true,
97
- optional: true)
92
+ env_name: "INSTALLR_ADD",
93
+ description: "Groups to add (e.g. 'exec,ops')",
94
+ optional: true)
98
95
  ]
99
96
  end
100
97
 
@@ -159,12 +159,12 @@ module Fastlane
159
159
  env_name: "IPA_CLEAN",
160
160
  description: "Clean project before building",
161
161
  optional: true,
162
- is_string: false),
162
+ type: Boolean),
163
163
  FastlaneCore::ConfigItem.new(key: :archive,
164
164
  env_name: "IPA_ARCHIVE",
165
165
  description: "Archive project after building",
166
166
  optional: true,
167
- is_string: false),
167
+ type: Boolean),
168
168
  FastlaneCore::ConfigItem.new(key: :destination,
169
169
  env_name: "IPA_DESTINATION",
170
170
  description: "Build destination. Defaults to current directory",
@@ -19,20 +19,14 @@ module Fastlane
19
19
 
20
20
  def self.available_options
21
21
  [
22
- FastlaneCore::ConfigItem.new(
23
- key: :config,
24
- env_name: 'FL_JAZZY_CONFIG',
25
- description: 'Path to jazzy config file',
26
- is_string: true,
27
- optional: true
28
- ),
29
- FastlaneCore::ConfigItem.new(
30
- key: :module_version,
31
- env_name: 'FL_JAZZY_MODULE_VERSION',
32
- description: 'Version string to use as part of the the default docs title and inside the docset',
33
- is_string: true,
34
- optional: true
35
- )
22
+ FastlaneCore::ConfigItem.new(key: :config,
23
+ env_name: 'FL_JAZZY_CONFIG',
24
+ description: 'Path to jazzy config file',
25
+ optional: true),
26
+ FastlaneCore::ConfigItem.new(key: :module_version,
27
+ env_name: 'FL_JAZZY_MODULE_VERSION',
28
+ description: 'Version string to use as part of the the default docs title and inside the docset',
29
+ optional: true)
36
30
  ]
37
31
  end
38
32
 
@@ -57,7 +57,7 @@ module Fastlane
57
57
  env_name: "CURRENT_BUILD_NUMBER_LIVE",
58
58
  description: "Query the live version (ready-for-sale)",
59
59
  optional: true,
60
- is_string: false,
60
+ type: Boolean,
61
61
  default_value: false),
62
62
  FastlaneCore::ConfigItem.new(key: :app_identifier,
63
63
  short_option: "-a",
@@ -82,7 +82,6 @@ module Fastlane
82
82
  env_name: "APPSTORE_PLATFORM",
83
83
  description: "The platform to use (optional)",
84
84
  optional: true,
85
- is_string: true,
86
85
  default_value: "ios",
87
86
  verify_block: proc do |value|
88
87
  UI.user_error!("The platform can only be ios, osx, or appletvos") unless %('osx', ios', 'appletvos').include?(value)
@@ -91,13 +90,13 @@ module Fastlane
91
90
  env_name: "INITIAL_BUILD_NUMBER",
92
91
  description: "sets the build number to given value if no build is in current train",
93
92
  default_value: 1,
94
- is_string: false),
93
+ skip_type_validation: true), # allow Integer, String
95
94
  FastlaneCore::ConfigItem.new(key: :team_id,
96
95
  short_option: "-k",
97
96
  env_name: "LATEST_TESTFLIGHT_BUILD_NUMBER_TEAM_ID",
98
97
  description: "The ID of your App Store Connect team if you're in multiple teams",
99
98
  optional: true,
100
- is_string: false, # as we also allow integers, which we convert to strings anyway
99
+ skip_type_validation: true, # allow Integer, String
101
100
  code_gen_sensitive: true,
102
101
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
103
102
  default_value_dynamic: true),
@@ -22,21 +22,17 @@ module Fastlane
22
22
  FastlaneCore::ConfigItem.new(key: :project_name,
23
23
  env_name: "FL_LCOV_PROJECT_NAME",
24
24
  description: "Name of the project"),
25
-
26
25
  FastlaneCore::ConfigItem.new(key: :scheme,
27
26
  env_name: "FL_LCOV_SCHEME",
28
27
  description: "Scheme of the project"),
29
-
30
28
  FastlaneCore::ConfigItem.new(key: :arch,
31
29
  env_name: "FL_LCOV_ARCH",
32
30
  description: "The build arch where will search .gcda files",
33
31
  default_value: "i386"),
34
-
35
32
  FastlaneCore::ConfigItem.new(key: :output_dir,
36
33
  env_name: "FL_LCOV_OUTPUT_DIR",
37
34
  description: "The output directory that coverage data will be stored. If not passed will use coverage_reports as default value",
38
35
  optional: true,
39
- is_string: true,
40
36
  default_value: "coverage_reports")
41
37
  ]
42
38
  end
@@ -59,45 +59,39 @@ module Fastlane
59
59
  env_name: "MAILGUN_SUBJECT",
60
60
  description: "Subject of your mail",
61
61
  optional: true,
62
- is_string: true,
63
62
  default_value: "fastlane build"),
64
63
  FastlaneCore::ConfigItem.new(key: :success,
65
- env_name: "MAILGUN_SUCCESS",
66
- description: "Was this build successful? (true/false)",
67
- optional: true,
68
- default_value: true,
69
- is_string: false),
64
+ env_name: "MAILGUN_SUCCESS",
65
+ description: "Was this build successful? (true/false)",
66
+ optional: true,
67
+ default_value: true,
68
+ type: Boolean),
70
69
  FastlaneCore::ConfigItem.new(key: :app_link,
71
- env_name: "MAILGUN_APP_LINK",
72
- description: "App Release link",
73
- optional: false,
74
- is_string: true),
70
+ env_name: "MAILGUN_APP_LINK",
71
+ description: "App Release link",
72
+ optional: false),
75
73
  FastlaneCore::ConfigItem.new(key: :ci_build_link,
76
- env_name: "MAILGUN_CI_BUILD_LINK",
77
- description: "CI Build Link",
78
- optional: true,
79
- is_string: true),
74
+ env_name: "MAILGUN_CI_BUILD_LINK",
75
+ description: "CI Build Link",
76
+ optional: true),
80
77
  FastlaneCore::ConfigItem.new(key: :template_path,
81
- env_name: "MAILGUN_TEMPLATE_PATH",
82
- description: "Mail HTML template",
83
- optional: true,
84
- is_string: true),
78
+ env_name: "MAILGUN_TEMPLATE_PATH",
79
+ description: "Mail HTML template",
80
+ optional: true),
85
81
  FastlaneCore::ConfigItem.new(key: :reply_to,
86
- env_name: "MAILGUN_REPLY_TO",
87
- description: "Mail Reply to",
88
- optional: true,
89
- is_string: true),
82
+ env_name: "MAILGUN_REPLY_TO",
83
+ description: "Mail Reply to",
84
+ optional: true),
90
85
  FastlaneCore::ConfigItem.new(key: :attachment,
91
- env_name: "MAILGUN_ATTACHMENT",
92
- description: "Mail Attachment filenames, either an array or just one string",
93
- optional: true,
94
- is_string: false),
86
+ env_name: "MAILGUN_ATTACHMENT",
87
+ description: "Mail Attachment filenames, either an array or just one string",
88
+ optional: true,
89
+ type: Array),
95
90
  FastlaneCore::ConfigItem.new(key: :custom_placeholders,
96
91
  short_option: "-p",
97
92
  env_name: "MAILGUN_CUSTOM_PLACEHOLDERS",
98
93
  description: "Placeholders for template given as a hash",
99
94
  default_value: {},
100
- is_string: false,
101
95
  type: Hash)
102
96
  ]
103
97
  end
@@ -45,7 +45,7 @@ module Fastlane
45
45
  FastlaneCore::ConfigItem.new(key: :include_commit_body,
46
46
  description: "Include the commit body along with the summary",
47
47
  optional: true,
48
- is_string: false,
48
+ type: Boolean,
49
49
  default_value: true)
50
50
  ]
51
51
  end
@@ -42,29 +42,65 @@ module Fastlane
42
42
 
43
43
  def self.services_mapping
44
44
  {
45
- access_wifi: 'access_wifi',
46
- app_group: 'app_group',
47
- apple_pay: 'apple_pay',
48
- associated_domains: 'associated_domains',
49
- auto_fill_credential: 'auto_fill_credential',
50
- data_protection: 'data_protection',
51
- game_center: 'game_center',
52
- health_kit: 'healthkit',
53
- home_kit: 'homekit',
54
- hotspot: 'hotspot',
55
- icloud: 'icloud',
56
- in_app_purchase: 'in_app_purchase',
57
- inter_app_audio: 'inter_app_audio',
58
- multipath: 'multipath',
59
- network_extension: 'network_extension',
60
- nfc_tag_reading: 'nfc_tag_reading',
61
- personal_vpn: 'personal_vpn',
62
- passbook: 'passbook',
63
- push_notification: 'push_notification',
64
- siri_kit: 'sirikit',
65
- vpn_configuration: 'vpn_conf',
66
- wallet: 'wallet',
67
- wireless_accessory: 'wireless_conf'
45
+ access_wifi: 'access_wifi',
46
+ app_attest: 'app_attest',
47
+ app_group: 'app_group',
48
+ apple_pay: 'apple_pay',
49
+ associated_domains: 'associated_domains',
50
+ auto_fill_credential: 'auto_fill_credential',
51
+ class_kit: 'class_kit',
52
+ icloud: 'icloud',
53
+ custom_network_protocol: 'custom_network_protocol',
54
+ data_protection: 'data_protection',
55
+ extended_virtual_address_space: 'extended_virtual_address_space',
56
+ family_controls: 'family_controls',
57
+ file_provider_testing_mode: 'file_provider_testing_mode',
58
+ fonts: 'fonts',
59
+ game_center: 'game_center',
60
+ health_kit: 'health_kit',
61
+ hls_interstitial_preview: 'hls_interstitial_preview',
62
+ home_kit: 'home_kit',
63
+ hotspot: 'hotspot',
64
+ in_app_purchase: 'in_app_purchase',
65
+ inter_app_audio: 'inter_app_audio',
66
+ low_latency_hls: 'low_latency_hls',
67
+ managed_associated_domains: 'managed_associated_domains',
68
+ maps: 'maps',
69
+ multipath: 'multipath',
70
+ network_extension: 'network_extension',
71
+ nfc_tag_reading: 'nfc_tag_reading',
72
+ personal_vpn: 'personal_vpn',
73
+ passbook: 'passbook',
74
+ push_notification: 'push_notification',
75
+ sign_in_with_apple: 'sign_in_with_apple',
76
+ siri_kit: 'siri_kit',
77
+ system_extension: 'system_extension',
78
+ user_management: 'user_management',
79
+ vpn_configuration: 'vpn_configuration',
80
+ wallet: 'wallet',
81
+ wireless_accessory: 'wireless_accessory',
82
+ car_play_audio_app: 'car_play_audio_app',
83
+ car_play_messaging_app: 'car_play_messaging_app',
84
+ car_play_navigation_app: 'car_play_navigation_app',
85
+ car_play_voip_calling_app: 'car_play_voip_calling_app',
86
+ critical_alerts: 'critical_alerts',
87
+ hotspot_helper: 'hotspot_helper',
88
+ driver_kit: 'driver_kit',
89
+ driver_kit_endpoint_security: 'driver_kit_endpoint_security',
90
+ driver_kit_family_hid_device: 'driver_kit_family_hid_device',
91
+ driver_kit_family_networking: 'driver_kit_family_networking',
92
+ driver_kit_family_serial: 'driver_kit_family_serial',
93
+ driver_kit_hid_event_service: 'driver_kit_hid_event_service',
94
+ driver_kit_transport_hid: 'driver_kit_transport_hid',
95
+ multitasking_camera_access: 'multitasking_camera_access',
96
+ sf_universal_link_api: 'sf_universal_link_api',
97
+ vp9_decoder: 'vp9_decoder',
98
+ music_kit: 'music_kit',
99
+ shazam_kit: 'shazam_kit',
100
+ communication_notifications: 'communication_notifications',
101
+ group_activities: 'group_activities',
102
+ health_kit_estimate_recalibration: 'health_kit_estimate_recalibration',
103
+ time_sensitive_notifications: 'time_sensitive_notifications'
68
104
  }
69
105
  end
70
106
 
@@ -106,7 +142,6 @@ module Fastlane
106
142
  display_in_shell: false,
107
143
  env_name: "PRODUCE_ENABLE_SERVICES",
108
144
  description: "Array with Spaceship App Services (e.g. #{allowed_services_description})",
109
- is_string: false,
110
145
  type: Hash,
111
146
  default_value: {},
112
147
  verify_block: proc do |value|