fastlane 1.104.0 → 1.105.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/lib/.DS_Store +0 -0
  3. data/lib/assets/.DS_Store +0 -0
  4. data/lib/assets/Actions.md.erb +78 -0
  5. data/lib/assets/AvailablePlugins.md.erb +2 -2
  6. data/lib/{fastlane/plugins → assets/completions}/.DS_Store +0 -0
  7. data/lib/fastlane/.DS_Store +0 -0
  8. data/lib/fastlane/action.rb +33 -0
  9. data/lib/fastlane/actions/.DS_Store +0 -0
  10. data/lib/fastlane/actions/adb.rb +12 -0
  11. data/lib/fastlane/actions/adb_devices.rb +21 -2
  12. data/lib/fastlane/actions/add_git_tag.rb +31 -0
  13. data/lib/fastlane/actions/appaloosa.rb +27 -0
  14. data/lib/fastlane/actions/appetize.rb +23 -1
  15. data/lib/fastlane/actions/appetize_viewing_url_generator.rb +3 -1
  16. data/lib/fastlane/actions/appium.rb +18 -0
  17. data/lib/fastlane/actions/appledoc.rb +24 -0
  18. data/lib/fastlane/actions/appstore.rb +8 -0
  19. data/lib/fastlane/actions/apteligent.rb +13 -0
  20. data/lib/fastlane/actions/artifactory.rb +17 -0
  21. data/lib/fastlane/actions/backup_file.rb +10 -0
  22. data/lib/fastlane/actions/backup_xcarchive.rb +15 -0
  23. data/lib/fastlane/actions/badge.rb +15 -1
  24. data/lib/fastlane/actions/build_and_upload_to_appetize.rb +14 -1
  25. data/lib/fastlane/actions/bundle_install.rb +9 -0
  26. data/lib/fastlane/actions/carthage.rb +23 -0
  27. data/lib/fastlane/actions/cert.rb +21 -0
  28. data/lib/fastlane/actions/changelog_from_git_commits.rb +16 -0
  29. data/lib/fastlane/actions/chatwork.rb +20 -1
  30. data/lib/fastlane/actions/clean_build_artifacts.rb +19 -1
  31. data/lib/fastlane/actions/clean_cocoapods_cache.rb +11 -0
  32. data/lib/fastlane/actions/clear_derived_data.rb +11 -0
  33. data/lib/fastlane/actions/clipboard.rb +11 -0
  34. data/lib/fastlane/actions/cloc.rb +18 -1
  35. data/lib/fastlane/actions/cocoapods.rb +18 -0
  36. data/lib/fastlane/actions/commit_version_bump.rb +30 -0
  37. data/lib/fastlane/actions/copy_artifacts.rb +25 -0
  38. data/lib/fastlane/actions/crashlytics.rb +24 -1
  39. data/lib/fastlane/actions/create_keychain.rb +16 -0
  40. data/lib/fastlane/actions/create_pull_request.rb +18 -0
  41. data/lib/fastlane/actions/danger.rb +20 -1
  42. data/lib/fastlane/actions/debug.rb +10 -0
  43. data/lib/fastlane/actions/default_platform.rb +10 -0
  44. data/lib/fastlane/actions/delete_keychain.rb +14 -0
  45. data/lib/fastlane/actions/deliver.rb +26 -0
  46. data/lib/fastlane/actions/deploygate.rb +25 -2
  47. data/lib/fastlane/{plugins/templates → actions/device_grid}/.DS_Store +0 -0
  48. data/lib/fastlane/actions/dotgpg_environment.rb +10 -0
  49. data/lib/fastlane/actions/download.rb +10 -0
  50. data/lib/fastlane/actions/download_dsyms.rb +20 -2
  51. data/lib/fastlane/actions/dsym_zip.rb +17 -0
  52. data/lib/fastlane/actions/ensure_git_branch.rb +21 -0
  53. data/lib/fastlane/actions/ensure_git_status_clean.rb +18 -0
  54. data/lib/fastlane/actions/ensure_no_debug_code.rb +21 -1
  55. data/lib/fastlane/actions/ensure_xcode_version.rb +8 -0
  56. data/lib/fastlane/actions/erb.rb +30 -1
  57. data/lib/fastlane/actions/fastlane_version.rb +17 -2
  58. data/lib/fastlane/actions/flock.rb +20 -0
  59. data/lib/fastlane/actions/frameit.rb +18 -0
  60. data/lib/fastlane/actions/gcovr.rb +18 -0
  61. data/lib/fastlane/actions/get_build_number.rb +10 -0
  62. data/lib/fastlane/actions/get_build_number_repository.rb +18 -0
  63. data/lib/fastlane/actions/get_github_release.rb +18 -1
  64. data/lib/fastlane/actions/get_info_plist_value.rb +14 -0
  65. data/lib/fastlane/actions/get_ipa_info_plist_value.rb +10 -0
  66. data/lib/fastlane/actions/get_version_number.rb +10 -0
  67. data/lib/fastlane/actions/git_add.rb +11 -7
  68. data/lib/fastlane/actions/git_branch.rb +10 -0
  69. data/lib/fastlane/actions/git_commit.rb +13 -0
  70. data/lib/fastlane/actions/git_pull.rb +11 -0
  71. data/lib/fastlane/actions/git_tag_exists.rb +12 -0
  72. data/lib/fastlane/actions/gradle.rb +45 -0
  73. data/lib/fastlane/actions/gym.rb +25 -3
  74. data/lib/fastlane/actions/hg_add_tag.rb +10 -0
  75. data/lib/fastlane/actions/hg_commit_version_bump.rb +26 -0
  76. data/lib/fastlane/actions/hg_ensure_clean_status.rb +14 -0
  77. data/lib/fastlane/actions/hg_push.rb +18 -0
  78. data/lib/fastlane/actions/hipchat.rb +19 -0
  79. data/lib/fastlane/actions/hockey.rb +22 -1
  80. data/lib/fastlane/actions/ifttt.rb +20 -0
  81. data/lib/fastlane/actions/import.rb +10 -0
  82. data/lib/fastlane/actions/import_certificate.rb +19 -0
  83. data/lib/fastlane/actions/import_from_git.rb +14 -0
  84. data/lib/fastlane/actions/increment_build_number.rb +24 -2
  85. data/lib/fastlane/actions/increment_version_number.rb +31 -0
  86. data/lib/fastlane/actions/install_on_device.rb +17 -0
  87. data/lib/fastlane/actions/install_xcode_plugin.rb +11 -0
  88. data/lib/fastlane/actions/installr.rb +17 -1
  89. data/lib/fastlane/actions/ipa.rb +25 -1
  90. data/lib/fastlane/actions/is_ci.rb +14 -1
  91. data/lib/fastlane/actions/jazzy.rb +10 -0
  92. data/lib/fastlane/actions/jira.rb +16 -3
  93. data/lib/fastlane/actions/lane_context.rb +8 -0
  94. data/lib/fastlane/actions/last_git_commit.rb +23 -0
  95. data/lib/fastlane/actions/last_git_tag.rb +14 -0
  96. data/lib/fastlane/actions/latest_testflight_build_number.rb +21 -1
  97. data/lib/fastlane/actions/lcov.rb +14 -0
  98. data/lib/fastlane/actions/mailgun.rb +25 -0
  99. data/lib/fastlane/actions/make_changelog_from_jenkins.rb +13 -0
  100. data/lib/fastlane/actions/match.rb +11 -0
  101. data/lib/fastlane/actions/nexus_upload.rb +20 -0
  102. data/lib/fastlane/actions/notification.rb +10 -0
  103. data/lib/fastlane/actions/notify.rb +9 -1
  104. data/lib/fastlane/actions/number_of_commits.rb +15 -0
  105. data/lib/fastlane/actions/oclint.rb +35 -0
  106. data/lib/fastlane/actions/onesignal.rb +17 -3
  107. data/lib/fastlane/actions/opt_out_usage.rb +10 -0
  108. data/lib/fastlane/actions/pem.rb +19 -0
  109. data/lib/fastlane/actions/pilot.rb +17 -0
  110. data/lib/fastlane/actions/pod_lib_lint.rb +16 -0
  111. data/lib/fastlane/actions/pod_push.rb +17 -3
  112. data/lib/fastlane/actions/podio_item.rb +16 -0
  113. data/lib/fastlane/actions/produce.rb +19 -0
  114. data/lib/fastlane/actions/prompt.rb +20 -0
  115. data/lib/fastlane/actions/push_git_tags.rb +14 -0
  116. data/lib/fastlane/actions/push_to_git_remote.rb +25 -0
  117. data/lib/fastlane/actions/puts.rb +10 -0
  118. data/lib/fastlane/actions/read_podspec.rb +23 -1
  119. data/lib/fastlane/actions/recreate_schemes.rb +10 -0
  120. data/lib/fastlane/actions/register_devices.rb +31 -0
  121. data/lib/fastlane/actions/reset_git_repo.rb +18 -0
  122. data/lib/fastlane/actions/reset_simulators.rb +10 -0
  123. data/lib/fastlane/actions/resign.rb +24 -2
  124. data/lib/fastlane/actions/restore_file.rb +10 -0
  125. data/lib/fastlane/actions/rocket.rb +14 -0
  126. data/lib/fastlane/actions/rsync.rb +13 -0
  127. data/lib/fastlane/actions/s3.rb +30 -0
  128. data/lib/fastlane/actions/say.rb +10 -0
  129. data/lib/fastlane/actions/scan.rb +16 -1
  130. data/lib/fastlane/actions/scp.rb +25 -0
  131. data/lib/fastlane/actions/screengrab.rb +16 -0
  132. data/lib/fastlane/actions/set_build_number_repository.rb +16 -3
  133. data/lib/fastlane/actions/set_changelog.rb +14 -1
  134. data/lib/fastlane/actions/set_github_release.rb +18 -0
  135. data/lib/fastlane/actions/set_info_plist_value.rb +10 -4
  136. data/lib/fastlane/actions/set_pod_key.rb +18 -0
  137. data/lib/fastlane/actions/setup_jenkins.rb +15 -1
  138. data/lib/fastlane/actions/sigh.rb +19 -0
  139. data/lib/fastlane/actions/skip_docs.rb +14 -0
  140. data/lib/fastlane/actions/slack.rb +34 -0
  141. data/lib/fastlane/actions/slather.rb +15 -2
  142. data/lib/fastlane/actions/snapshot.rb +14 -0
  143. data/lib/fastlane/actions/sonar.rb +37 -19
  144. data/lib/fastlane/actions/splunkmint.rb +14 -0
  145. data/lib/fastlane/actions/ssh.rb +18 -1
  146. data/lib/fastlane/actions/supply.rb +10 -2
  147. data/lib/fastlane/actions/swiftlint.rb +19 -0
  148. data/lib/fastlane/actions/team_id.rb +10 -0
  149. data/lib/fastlane/actions/team_name.rb +10 -0
  150. data/lib/fastlane/actions/testfairy.rb +19 -1
  151. data/lib/fastlane/actions/testflight.rb +8 -0
  152. data/lib/fastlane/actions/tryouts.rb +19 -1
  153. data/lib/fastlane/actions/twitter.rb +18 -1
  154. data/lib/fastlane/actions/typetalk.rb +16 -0
  155. data/lib/fastlane/actions/unlock_keychain.rb +27 -0
  156. data/lib/fastlane/actions/update_app_group_identifiers.rb +17 -0
  157. data/lib/fastlane/actions/update_app_identifier.rb +18 -0
  158. data/lib/fastlane/actions/update_fastlane.rb +27 -0
  159. data/lib/fastlane/actions/update_icloud_container_identifiers.rb +17 -0
  160. data/lib/fastlane/actions/update_info_plist.rb +38 -0
  161. data/lib/fastlane/actions/update_project_code_signing.rb +10 -2
  162. data/lib/fastlane/actions/update_project_provisioning.rb +17 -1
  163. data/lib/fastlane/actions/update_project_team.rb +14 -1
  164. data/lib/fastlane/actions/update_urban_airship_configuration.rb +14 -0
  165. data/lib/fastlane/actions/update_url_schemes.rb +21 -0
  166. data/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +10 -0
  167. data/lib/fastlane/actions/upload_symbols_to_sentry.rb +15 -0
  168. data/lib/fastlane/actions/verify_build.rb +14 -0
  169. data/lib/fastlane/actions/verify_pod_keys.rb +15 -1
  170. data/lib/fastlane/actions/verify_xcode.rb +11 -0
  171. data/lib/fastlane/actions/version_bump_podspec.rb +11 -0
  172. data/lib/fastlane/actions/version_get_podspec.rb +10 -0
  173. data/lib/fastlane/actions/xcode_install.rb +11 -0
  174. data/lib/fastlane/actions/xcode_select.rb +14 -0
  175. data/lib/fastlane/actions/xcode_server_get_assets.rb +13 -0
  176. data/lib/fastlane/actions/xcodebuild.rb +68 -1
  177. data/lib/fastlane/actions/xcov.rb +18 -1
  178. data/lib/fastlane/actions/xctool.rb +21 -1
  179. data/lib/fastlane/actions/xcversion.rb +17 -2
  180. data/lib/fastlane/actions/zip.rb +14 -0
  181. data/lib/fastlane/commands_generator.rb +2 -4
  182. data/lib/fastlane/documentation/markdown_docs_generator.rb +142 -0
  183. data/lib/fastlane/features.rb +4 -2
  184. data/lib/fastlane/lane_manager.rb +6 -2
  185. data/lib/fastlane/setup/crashlytics_beta.rb +6 -4
  186. data/lib/fastlane/version.rb +1 -1
  187. metadata +37 -33
@@ -37,6 +37,16 @@ module Fastlane
37
37
  def self.is_supported?(platform)
38
38
  true
39
39
  end
40
+
41
+ def self.example_code
42
+ [
43
+ 'git_branch'
44
+ ]
45
+ end
46
+
47
+ def self.category
48
+ :source_control
49
+ end
40
50
  end
41
51
  end
42
52
  end
@@ -58,6 +58,19 @@ module Fastlane
58
58
  def self.is_supported?(platform)
59
59
  true
60
60
  end
61
+
62
+ def self.example_code
63
+ [
64
+ 'git_commit(path: "./version.txt",
65
+ message: "Version Bump")',
66
+ 'git_commit(path: ["./version.txt", "./changelog.txt"],
67
+ message: "Version Bump")'
68
+ ]
69
+ end
70
+
71
+ def self.category
72
+ :source_control
73
+ end
61
74
  end
62
75
  end
63
76
  end
@@ -37,6 +37,17 @@ module Fastlane
37
37
  def self.is_supported?(platform)
38
38
  true
39
39
  end
40
+
41
+ def self.example_code
42
+ [
43
+ 'git_pull',
44
+ 'git_pull(only_tags: true) # only the tags, no commits'
45
+ ]
46
+ end
47
+
48
+ def self.category
49
+ :source_control
50
+ end
40
51
  end
41
52
  end
42
53
  end
@@ -41,6 +41,18 @@ module Fastlane
41
41
  def self.is_supported?(platform)
42
42
  true
43
43
  end
44
+
45
+ def self.example_code
46
+ [
47
+ 'if git_tag_exists(tag: "1.1.0")
48
+ UI.message("Found it 🚀")
49
+ end'
50
+ ]
51
+ end
52
+
53
+ def self.category
54
+ :source_control
55
+ end
44
56
  end
45
57
  end
46
58
  end
@@ -163,6 +163,51 @@ module Fastlane
163
163
  def self.is_supported?(platform)
164
164
  platform == :android || platform == :ios
165
165
  end
166
+
167
+ def self.example_code
168
+ [
169
+ 'gradle(
170
+ task: "assemble",
171
+ flavor: "WorldDomination",
172
+ build_type: "Release"
173
+ )',
174
+ 'gradle(
175
+ # ...
176
+
177
+ properties: {
178
+ "versionCode" => 100,
179
+ "versionName" => "1.0.0",
180
+ # ...
181
+ }
182
+ )',
183
+ '# If you need to pass sensitive information through the `gradle` action, and don"t want the generated command to be printed before it is run, you can suppress that:
184
+ gradle(
185
+ # ...
186
+ print_command: false
187
+ )
188
+ ```
189
+
190
+ You can also suppress printing the output generated by running the generated Gradle command:
191
+ ```ruby
192
+ gradle(
193
+ # ...
194
+ print_command_output: false
195
+ )
196
+ ```
197
+
198
+ To pass any other CLI flags to gradle use:
199
+ ```ruby
200
+ gradle(
201
+ # ...
202
+
203
+ flags: "--exitcode --xml file.xml"
204
+ )'
205
+ ]
206
+ end
207
+
208
+ def self.category
209
+ :building
210
+ end
166
211
  end
167
212
  end
168
213
  end
@@ -12,7 +12,9 @@ module Fastlane
12
12
  begin
13
13
  FastlaneCore::UpdateChecker.start_looking_for_update('gym') unless Helper.is_test?
14
14
 
15
- if values[:provisioning_profile_path].to_s.length == 0
15
+ should_use_legacy_api = values[:use_legacy_build_api] || Gym::Xcode.pre_7?
16
+
17
+ if values[:provisioning_profile_path].to_s.length.zero? && should_use_legacy_api
16
18
  sigh_path = Actions.lane_context[Actions::SharedValues::SIGH_PROFILE_PATH] || ENV["SIGH_PROFILE_PATH"]
17
19
  values[:provisioning_profile_path] = File.expand_path(sigh_path) if sigh_path
18
20
  end
@@ -40,11 +42,11 @@ module Fastlane
40
42
  end
41
43
 
42
44
  def self.description
43
- "Easily build and sign your app using `gym`"
45
+ "Easily build and sign your app using _gym_"
44
46
  end
45
47
 
46
48
  def self.details
47
- "More information: https://github.com/fastlane/fastlane/tree/master/gym"
49
+ "More information: https://fastlane.tools/gym"
48
50
  end
49
51
 
50
52
  def self.return_value
@@ -63,6 +65,26 @@ module Fastlane
63
65
  def self.is_supported?(platform)
64
66
  [:ios, :mac].include? platform
65
67
  end
68
+
69
+ def self.example_code
70
+ [
71
+ 'gym(scheme: "MyApp", workspace: "MyApp.xcworkspace")',
72
+ 'gym(
73
+ workspace: "MyApp.xcworkspace",
74
+ configuration: "Debug",
75
+ scheme: "MyApp",
76
+ silent: true,
77
+ clean: true,
78
+ output_directory: "path/to/dir", # Destination directory. Defaults to current directory.
79
+ output_name: "my-app.ipa", # specify the name of the .ipa file to generate (including file extension)
80
+ sdk: "10.0" # use SDK as the name or path of the base SDK when building the project.
81
+ )'
82
+ ]
83
+ end
84
+
85
+ def self.category
86
+ :building
87
+ end
66
88
  end
67
89
  end
68
90
  end
@@ -33,6 +33,16 @@ module Fastlane
33
33
  def self.is_supported?(platform)
34
34
  true
35
35
  end
36
+
37
+ def self.example_code
38
+ [
39
+ 'hg_add_tag(tag: "1.3")'
40
+ ]
41
+ end
42
+
43
+ def self.category
44
+ :source_control
45
+ end
36
46
  end
37
47
  end
38
48
  end
@@ -151,6 +151,32 @@ module Fastlane
151
151
  def self.is_supported?(platform)
152
152
  true
153
153
  end
154
+
155
+ def self.details
156
+ [
157
+ "The mercurial equivalent of the [`commit_version_bump`](#commit_version_bump) git action. Like the git version, it is useful in conjunction with [`increment_build_number`](#increment_build_number).",
158
+ "It checks the repo to make sure that only the relevant files have changed, these are the files that `increment_build_number` (`agvtool`) touches:",
159
+ "- All .plist files",
160
+ "- The `.xcodeproj/project.pbxproj` file",
161
+ "Then commits those files to the repo.",
162
+ "Customise the message with the `:message` option, defaults to 'Version Bump'",
163
+ "If you have other uncommitted changes in your repo, this action will fail. If you started off in a clean repo, and used the _ipa_ and or _sigh_ actions, then you can use the [`clean_build_artifacts`](#clean_build_artifacts) action to clean those temporary files up before running this action."
164
+ ].join("\n")
165
+ end
166
+
167
+ def self.example_code
168
+ [
169
+ 'hg_commit_version_bump',
170
+ 'hg_commit_version_bump(
171
+ message: "Version Bump", # create a commit with a custom message
172
+ xcodeproj: "./path/MyProject.xcodeproj", # optional, if you have multiple Xcode project files, you must specify your main project here
173
+ )'
174
+ ]
175
+ end
176
+
177
+ def self.category
178
+ :source_control
179
+ end
154
180
  end
155
181
  end
156
182
  end
@@ -20,6 +20,10 @@ module Fastlane
20
20
  "Raises an exception if there are uncommited hg changes"
21
21
  end
22
22
 
23
+ def self.details
24
+ "Along the same lines as the [`ensure_git_status_clean`](#ensure_git_status_clean) action, this is a sanity check to ensure the working mercurial repo is clean. Especially useful to put at the beginning of your Fastfile in the `before_all` block."
25
+ end
26
+
23
27
  def self.output
24
28
  [
25
29
  ['HG_REPO_WAS_CLEAN_ON_START', 'Stores the fact that the hg repo was clean at some point']
@@ -34,6 +38,16 @@ module Fastlane
34
38
  def self.is_supported?(platform)
35
39
  true
36
40
  end
41
+
42
+ def self.example_code
43
+ [
44
+ 'hg_ensure_clean_status'
45
+ ]
46
+ end
47
+
48
+ def self.category
49
+ :source_control
50
+ end
37
51
  end
38
52
  end
39
53
  end
@@ -18,6 +18,10 @@ module Fastlane
18
18
  "This will push changes to the remote hg repository"
19
19
  end
20
20
 
21
+ def self.details
22
+ "The mercurial equivalent of [`push_to_git_remote`](#push_to_git_remote) — pushes your local commits to a remote mercurial repo. Useful when local changes such as adding a version bump commit or adding a tag are part of your lane’s actions."
23
+ end
24
+
21
25
  def self.available_options
22
26
  [
23
27
  FastlaneCore::ConfigItem.new(key: :force,
@@ -41,6 +45,20 @@ module Fastlane
41
45
  def self.is_supported?(platform)
42
46
  true
43
47
  end
48
+
49
+ def self.example_code
50
+ [
51
+ 'hg_push',
52
+ 'hg_push(
53
+ destination: "ssh://hg@repohost.com/owner/repo",
54
+ force: true
55
+ )'
56
+ ]
57
+ end
58
+
59
+ def self.category
60
+ :source_control
61
+ end
44
62
  end
45
63
  end
46
64
  end
@@ -172,6 +172,25 @@ module Fastlane
172
172
  def self.is_supported?(platform)
173
173
  true
174
174
  end
175
+
176
+ def self.details
177
+ "Send a message to **room** (by default) or a direct message to **@username** with success (green) or failure (red) status."
178
+ end
179
+
180
+ def self.example_code
181
+ [
182
+ 'hipchat(
183
+ message: "App successfully released!",
184
+ message_format: "html", # or "text", defaults to "html"
185
+ channel: "Room or @username",
186
+ success: true
187
+ )'
188
+ ]
189
+ end
190
+
191
+ def self.category
192
+ :notifications
193
+ end
175
194
  end
176
195
  end
177
196
  end
@@ -100,7 +100,7 @@ module Fastlane
100
100
  end),
101
101
  FastlaneCore::ConfigItem.new(key: :ipa,
102
102
  env_name: "FL_HOCKEY_IPA",
103
- 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",
103
+ 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",
104
104
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
105
105
  optional: true,
106
106
  verify_block: proc do |value|
@@ -203,6 +203,27 @@ module Fastlane
203
203
  def self.is_supported?(platform)
204
204
  [:ios, :mac, :android].include? platform
205
205
  end
206
+
207
+ def self.details
208
+ [
209
+ "Symbols will also be uploaded automatically if a `app.dSYM.zip` file is found next to `app.ipa`. In case it is located in a different place you can specify the path explicitly in `:dsym` parameter.",
210
+ "More information about the available options can be found in the [HockeyApp Docs](http://support.hockeyapp.net/kb/api/api-versions#upload-version)."
211
+ ].join("\n")
212
+ end
213
+
214
+ def self.example_code
215
+ [
216
+ 'hockey(
217
+ api_token: "...",
218
+ ipa: "./app.ipa",
219
+ notes: "Changelog"
220
+ )'
221
+ ]
222
+ end
223
+
224
+ def self.category
225
+ :beta
226
+ end
206
227
  end
207
228
  end
208
229
  end
@@ -31,6 +31,10 @@ module Fastlane
31
31
  "Connect to the IFTTT Maker Channel. https://ifttt.com/maker"
32
32
  end
33
33
 
34
+ def self.details
35
+ "Connect to the IFTTT [Maker Channel](https://ifttt.com/maker). An IFTTT Recipe has two components: a Trigger and an Action. In this case, the Trigger will fire every time the Maker Channel receives a web request (made by this _fastlane_ action) to notify it of an event. The Action can be anything that IFTTT supports: email, SMS, etc."
36
+ end
37
+
34
38
  def self.available_options
35
39
  [
36
40
  FastlaneCore::ConfigItem.new(key: :api_key,
@@ -70,6 +74,22 @@ module Fastlane
70
74
  def self.authors
71
75
  ["vpolouchkine"]
72
76
  end
77
+
78
+ def self.example_code
79
+ [
80
+ 'ifttt(
81
+ api_key: "...",
82
+ event_name: "...",
83
+ value1: "foo",
84
+ value2: "bar",
85
+ value3: "baz"
86
+ )'
87
+ ]
88
+ end
89
+
90
+ def self.category
91
+ :notifications
92
+ end
73
93
  end
74
94
  end
75
95
  end
@@ -34,6 +34,16 @@ module Fastlane
34
34
  def self.is_supported?(platform)
35
35
  true
36
36
  end
37
+
38
+ def self.example_code
39
+ [
40
+ 'import "./path/to/other/Fastfile"'
41
+ ]
42
+ end
43
+
44
+ def self.category
45
+ :misc
46
+ end
37
47
  end
38
48
  end
39
49
  end
@@ -30,6 +30,7 @@ module Fastlane
30
30
  optional: true),
31
31
  FastlaneCore::ConfigItem.new(key: :log_output,
32
32
  description: "If output should be logged to the console",
33
+ type: TrueClass,
33
34
  default_value: false,
34
35
  optional: true)
35
36
  ]
@@ -42,6 +43,24 @@ module Fastlane
42
43
  def self.is_supported?(platform)
43
44
  true
44
45
  end
46
+
47
+ def self.details
48
+ "Import certificates into the current default keychain. Use `create_keychain` to create a new keychain."
49
+ end
50
+
51
+ def self.example_code
52
+ [
53
+ 'import_certificate(certificate_path: "certs/AppleWWDRCA.cer")',
54
+ 'import_certificate(
55
+ certificate_path: "certs/dist.p12",
56
+ certificate_password: ENV["CERTIFICATE_PASSWORD"] || "default"
57
+ )'
58
+ ]
59
+ end
60
+
61
+ def self.category
62
+ :code_signing
63
+ end
45
64
  end
46
65
  end
47
66
  end
@@ -43,6 +43,20 @@ module Fastlane
43
43
  def self.is_supported?(platform)
44
44
  true
45
45
  end
46
+
47
+ def self.example_code
48
+ [
49
+ 'import_from_git(
50
+ url: "git@github.com:fastlane/fastlane.git", # The url of the repository to import the Fastfile from.
51
+ branch: "HEAD", # The branch to checkout on the repository. Defaults to `HEAD`.
52
+ path: "fastlane/Fastfile" # The path of the Fastfile in the repository. Defaults to `fastlane/Fastfile`.
53
+ )'
54
+ ]
55
+ end
56
+
57
+ def self.category
58
+ :misc
59
+ end
46
60
  end
47
61
  end
48
62
  end