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
@@ -59,6 +59,19 @@ module Fastlane
59
59
  def self.is_supported?(platform)
60
60
  true
61
61
  end
62
+
63
+ def self.example_code
64
+ [
65
+ 'make_changelog_from_jenkins(
66
+ # Optional, lets you set a changelog in the case is not generated on Jenkins or if ran outside of Jenkins
67
+ fallback_changelog: "Bug fixes and performance enhancements"
68
+ )'
69
+ ]
70
+ end
71
+
72
+ def self.category
73
+ :misc
74
+ end
62
75
  end
63
76
  end
64
77
  end
@@ -58,6 +58,17 @@ module Fastlane
58
58
  def self.is_supported?(platform)
59
59
  platform == :ios
60
60
  end
61
+
62
+ def self.example_code
63
+ [
64
+ 'match(type: "appstore", app_identifier: "tools.fastlane.app")',
65
+ 'match(type: "development", readonly: true)'
66
+ ]
67
+ end
68
+
69
+ def self.category
70
+ :code_signing
71
+ end
61
72
  end
62
73
  end
63
74
  end
@@ -155,6 +155,26 @@ module Fastlane
155
155
  def self.is_supported?(platform)
156
156
  true
157
157
  end
158
+
159
+ def self.example_code
160
+ [
161
+ 'nexus_upload(
162
+ file: "/path/to/file.ipa",
163
+ repo_id: "artefacts",
164
+ repo_group_id: "com.fastlane",
165
+ repo_project_name: "ipa",
166
+ repo_project_version: "1.13",
167
+ repo_classifier: "dSYM", # Optional
168
+ endpoint: "http://localhost:8081",
169
+ username: "admin",
170
+ password: "admin123"
171
+ )'
172
+ ]
173
+ end
174
+
175
+ def self.category
176
+ :beta
177
+ end
158
178
  end
159
179
  end
160
180
  end
@@ -60,6 +60,16 @@ module Fastlane
60
60
  def self.is_supported?(platform)
61
61
  Helper.mac?
62
62
  end
63
+
64
+ def self.example_code
65
+ [
66
+ 'notification(subtitle: "Finished Building", message: "Ready to upload...")'
67
+ ]
68
+ end
69
+
70
+ def self.category
71
+ :notifications
72
+ end
63
73
  end
64
74
  end
65
75
  end
@@ -10,7 +10,7 @@ module Fastlane
10
10
  end
11
11
 
12
12
  def self.description
13
- "Shows a macOS notification"
13
+ "Shows a macOS notification - use `notification` instead"
14
14
  end
15
15
 
16
16
  def self.author
@@ -23,6 +23,14 @@ module Fastlane
23
23
  def self.is_supported?(platform)
24
24
  Helper.mac?
25
25
  end
26
+
27
+ def self.example_code
28
+ []
29
+ end
30
+
31
+ def self.category
32
+ :deprecated
33
+ end
26
34
  end
27
35
  end
28
36
  end
@@ -29,6 +29,10 @@ module Fastlane
29
29
  "The total number of all commits in current git repo"
30
30
  end
31
31
 
32
+ def self.details
33
+ "You can use this action to get the number of commits of this repo. This is useful if you want to set the build number to the number of commits."
34
+ end
35
+
32
36
  def self.authors
33
37
  ["onevcat"]
34
38
  end
@@ -36,6 +40,17 @@ module Fastlane
36
40
  def self.is_supported?(platform)
37
41
  true
38
42
  end
43
+
44
+ def self.example_code
45
+ [
46
+ 'build_number = number_of_commits
47
+ increment_build_number(build_number: build_number)'
48
+ ]
49
+ end
50
+
51
+ def self.category
52
+ :source_control
53
+ end
39
54
  end
40
55
  end
41
56
  end
@@ -205,6 +205,41 @@ module Fastlane
205
205
  def self.is_supported?(platform)
206
206
  true
207
207
  end
208
+
209
+ def self.details
210
+ "Run the static analyzer tool [OCLint](http://oclint.org) for your project. You need to have a `compile_commands.json` file in your _fastlane_ directory or pass a path to your file"
211
+ end
212
+
213
+ def self.example_code
214
+ [
215
+ 'oclint(
216
+ compile_commands: "commands.json", # The JSON compilation database, use xctool reporter "json-compilation-database"
217
+ select_regex: /ViewController.m/, # Select all files matching this regex
218
+ exclude_regex: /Test.m/, # Exclude all files matching this regex
219
+ report_type: "pmd", # The type of the report (default: html)
220
+ max_priority_1: 10, # The max allowed number of priority 1 violations
221
+ max_priority_2: 100, # The max allowed number of priority 2 violations
222
+ max_priority_3: 1000, # The max allowed number of priority 3 violations
223
+ thresholds: [ # Override the default behavior of rules
224
+ "LONG_LINE=200",
225
+ "LONG_METHOD=200"
226
+ ],
227
+ enable_rules: [ # List of rules to pick explicitly
228
+ "DoubleNegative",
229
+ "SwitchStatementsDon\'TNeedDefaultWhenFullyCovered"
230
+ ],
231
+ disable_rules: ["GotoStatement"], # List of rules to disable
232
+ list_enabled_rules: true, # List enabled rules
233
+ enable_clang_static_analyzer: true, # Enable Clang Static Analyzer, and integrate results into OCLint report
234
+ enable_global_analysis: true, # Compile every source, and analyze across global contexts (depends on number of source files, could results in high memory load)
235
+ allow_duplicated_violations: true # Allow duplicated violations in the OCLint report
236
+ )'
237
+ ]
238
+ end
239
+
240
+ def self.category
241
+ :testing
242
+ end
208
243
  end
209
244
  end
210
245
  end
@@ -115,9 +115,6 @@ module Fastlane
115
115
  ]
116
116
  end
117
117
 
118
- def self.return_value
119
- end
120
-
121
118
  def self.authors
122
119
  ["timothybarraclough", "smartshowltd"]
123
120
  end
@@ -125,6 +122,23 @@ module Fastlane
125
122
  def self.is_supported?(platform)
126
123
  platform == :ios
127
124
  end
125
+
126
+ def self.example_code
127
+ [
128
+ 'onesignal(
129
+ auth_token: "Your OneSignal Auth Token",
130
+ app_name: "Name for OneSignal App",
131
+ android_token: "Your Android GCM key (optional)",
132
+ apns_p12: "Path to Apple .p12 file (optional)",
133
+ apns_p12_password: "Password for .p12 file (optional)",
134
+ apns_env: "production/sandbox (defaults to production)"
135
+ )'
136
+ ]
137
+ end
138
+
139
+ def self.category
140
+ :push
141
+ end
128
142
  end
129
143
  end
130
144
  end
@@ -26,6 +26,16 @@ module Fastlane
26
26
  def self.is_supported?(platform)
27
27
  true
28
28
  end
29
+
30
+ def self.example_code
31
+ [
32
+ 'opt_out_usage'
33
+ ]
34
+ end
35
+
36
+ def self.category
37
+ :misc
38
+ end
29
39
  end
30
40
  end
31
41
  end
@@ -65,6 +65,25 @@ module Fastlane
65
65
  def self.is_supported?(platform)
66
66
  platform == :ios
67
67
  end
68
+
69
+ def self.example_code
70
+ [
71
+ 'pem',
72
+ 'pem(
73
+ force: true, # create a new profile, even if the old one is still valid
74
+ app_identifier: "net.sunapps.9", # optional app identifier,
75
+ save_private_key: true,
76
+ new_profile: proc do |profile_path| # this block gets called when a new profile was generated
77
+ puts profile_path # the absolute path to the new PEM file
78
+ # insert the code to upload the PEM file to the server
79
+ end
80
+ )'
81
+ ]
82
+ end
83
+
84
+ def self.category
85
+ :push
86
+ end
68
87
  end
69
88
  end
70
89
  end
@@ -42,6 +42,23 @@ module Fastlane
42
42
  FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options)
43
43
  end
44
44
 
45
+ def self.example_code
46
+ [
47
+ 'testflight',
48
+ 'pilot # alias for "testflight"',
49
+ 'testflight(skip_submission: true) # to only upload the build',
50
+ 'testflight(
51
+ username: "felix@krausefx.com",
52
+ app_identifier: "com.krausefx.app",
53
+ itc_provider: "abcde12345" # pass a specific value to the iTMSTransporter -itc_provider option
54
+ )'
55
+ ]
56
+ end
57
+
58
+ def self.category
59
+ :beta
60
+ end
61
+
45
62
  def self.authors
46
63
  ["KrauseFx"]
47
64
  end
@@ -99,6 +99,22 @@ module Fastlane
99
99
  def self.is_supported?(platform)
100
100
  [:ios, :mac].include?(platform)
101
101
  end
102
+
103
+ def self.example_code
104
+ [
105
+ 'pod_lib_lint',
106
+ '# Allow ouput detail in console
107
+ pod_lib_lint(verbose: true)',
108
+ '# Allow warnings during pod lint
109
+ pod_lib_lint(allow_warnings: true)',
110
+ '# If the podspec has a dependency on another private pod, then you will have to supply the sources
111
+ pod_lib_lint(sources: ["https://github.com/MyGithubPage/Specs", "https://github.com/CocoaPods/Specs"])'
112
+ ]
113
+ end
114
+
115
+ def self.category
116
+ :misc
117
+ end
102
118
  end
103
119
  end
104
120
  end
@@ -73,9 +73,6 @@ module Fastlane
73
73
  ]
74
74
  end
75
75
 
76
- def self.output
77
- end
78
-
79
76
  def self.return_value
80
77
  nil
81
78
  end
@@ -87,6 +84,23 @@ module Fastlane
87
84
  def self.is_supported?(platform)
88
85
  [:ios, :mac].include? platform
89
86
  end
87
+
88
+ def self.example_code
89
+ [
90
+ '# If no path is supplied then Trunk will attempt to find the first Podspec in the current directory.
91
+ pod_push',
92
+ '# Alternatively, supply the Podspec file path
93
+ pod_push(path: "TSMessages.podspec")',
94
+ '# You may also push to a private repo instead of Trunk
95
+ pod_push(path: "TSMessages.podspec", repo: "MyRepo")',
96
+ '# If the podspec has a dependency on another private pod, then you will have to supply the sources you want the podspec to lint with for pod_push to succeed. Read more here - https://github.com/CocoaPods/CocoaPods/issues/2543.
97
+ pod_push(path: "TMessages.podspec", repo: "MyRepo", sources: ["https://github.com/MyGithubPage/Specs", "https://github.com/CocoaPods/Specs"])'
98
+ ]
99
+ end
100
+
101
+ def self.category
102
+ :misc
103
+ end
90
104
  end
91
105
  end
92
106
  end
@@ -193,6 +193,22 @@ module Fastlane
193
193
  embed_response_dictionary = JSON.parse(embed_response.body)
194
194
  embed_response_dictionary['embed_id']
195
195
  end
196
+
197
+ def self.example_code
198
+ [
199
+ 'podio_item(
200
+ identifying_value: "Your unique value",
201
+ other_fields: {
202
+ "field1" => "fieldValue",
203
+ "field2" => "fieldValue2"
204
+ }
205
+ )'
206
+ ]
207
+ end
208
+
209
+ def self.category
210
+ :beta
211
+ end
196
212
  end
197
213
  end
198
214
  end
@@ -32,6 +32,7 @@ module Fastlane
32
32
 
33
33
  def details
34
34
  [
35
+ 'Create new apps on iTunes Connect and Apple Developer Portal. If the app already exists, `produce` will not do anything.',
35
36
  'For more information about produce, visit its GitHub page:',
36
37
  'https://github.com/fastlane/fastlane/tree/master/produce'
37
38
  ].join(' ')
@@ -55,6 +56,24 @@ module Fastlane
55
56
  def self.is_supported?(platform)
56
57
  platform == :ios
57
58
  end
59
+
60
+ def self.example_code
61
+ [
62
+ 'produce(
63
+ username: "felix@krausefx.com",
64
+ app_identifier: "com.krausefx.app",
65
+ app_name: "MyApp",
66
+ language: "English",
67
+ app_version: "1.0",
68
+ sku: "123",
69
+ team_name: "SunApps GmbH" # Only necessary when in multiple teams.
70
+ )'
71
+ ]
72
+ end
73
+
74
+ def self.category
75
+ :misc
76
+ end
58
77
  end
59
78
  end
60
79
  end
@@ -67,6 +67,26 @@ module Fastlane
67
67
  def self.is_supported?(platform)
68
68
  true
69
69
  end
70
+
71
+ def self.example_code
72
+ [
73
+ 'changelog = prompt(text: "Changelog: ")',
74
+ 'changelog = prompt(
75
+ text: "Changelog: ",
76
+ multi_line_end_keyword: "END"
77
+ )
78
+
79
+ crashlytics(notes: changelog)'
80
+ ]
81
+ end
82
+
83
+ def self.sample_return_value
84
+ "User Content\nWithNewline"
85
+ end
86
+
87
+ def self.category
88
+ :misc
89
+ end
70
90
  end
71
91
  end
72
92
  end
@@ -46,9 +46,23 @@ module Fastlane
46
46
  ['vittoriom']
47
47
  end
48
48
 
49
+ def self.details
50
+ "If you only want to push the tags and nothing else, you can use the `push_git_tags` action"
51
+ end
52
+
49
53
  def self.is_supported?(platform)
50
54
  true
51
55
  end
56
+
57
+ def self.example_code
58
+ [
59
+ 'push_git_tags'
60
+ ]
61
+ end
62
+
63
+ def self.category
64
+ :source_control
65
+ end
52
66
  end
53
67
  end
54
68
  end