fastlane 2.94.0.beta.20180425050017 → 2.94.0.beta.20180426050049

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/fastlane/lib/assets/ActionDetails.md.erb +1 -1
  3. data/fastlane/lib/fastlane/action.rb +36 -1
  4. data/fastlane/lib/fastlane/actions/adb.rb +1 -3
  5. data/fastlane/lib/fastlane/actions/adb_devices.rb +1 -3
  6. data/fastlane/lib/fastlane/actions/add_git_tag.rb +11 -8
  7. data/fastlane/lib/fastlane/actions/app_store_build_number.rb +4 -1
  8. data/fastlane/lib/fastlane/actions/appaloosa.rb +3 -4
  9. data/fastlane/lib/fastlane/actions/appetize.rb +1 -1
  10. data/fastlane/lib/fastlane/actions/badge.rb +4 -4
  11. data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +2 -2
  12. data/fastlane/lib/fastlane/actions/chatwork.rb +1 -1
  13. data/fastlane/lib/fastlane/actions/cloc.rb +1 -1
  14. data/fastlane/lib/fastlane/actions/commit_github_file.rb +5 -4
  15. data/fastlane/lib/fastlane/actions/commit_version_bump.rb +9 -9
  16. data/fastlane/lib/fastlane/actions/copy_artifacts.rb +2 -2
  17. data/fastlane/lib/fastlane/actions/crashlytics.rb +2 -2
  18. data/fastlane/lib/fastlane/actions/create_app_online.rb +5 -6
  19. data/fastlane/lib/fastlane/actions/danger.rb +1 -1
  20. data/fastlane/lib/fastlane/actions/delete_keychain.rb +1 -1
  21. data/fastlane/lib/fastlane/actions/deploygate.rb +1 -1
  22. data/fastlane/lib/fastlane/actions/dotgpg_environment.rb +1 -1
  23. data/fastlane/lib/fastlane/actions/download.rb +2 -3
  24. data/fastlane/lib/fastlane/actions/download_dsyms.rb +12 -9
  25. data/fastlane/lib/fastlane/actions/ensure_git_branch.rb +2 -3
  26. data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +3 -5
  27. data/fastlane/lib/fastlane/actions/ensure_no_debug_code.rb +2 -3
  28. data/fastlane/lib/fastlane/actions/ensure_xcode_version.rb +4 -2
  29. data/fastlane/lib/fastlane/actions/erb.rb +2 -2
  30. data/fastlane/lib/fastlane/actions/flock.rb +1 -4
  31. data/fastlane/lib/fastlane/actions/frame_screenshots.rb +2 -2
  32. data/fastlane/lib/fastlane/actions/get_build_number.rb +2 -3
  33. data/fastlane/lib/fastlane/actions/get_build_number_repository.rb +1 -1
  34. data/fastlane/lib/fastlane/actions/get_certificates.rb +1 -1
  35. data/fastlane/lib/fastlane/actions/get_github_release.rb +42 -38
  36. data/fastlane/lib/fastlane/actions/get_ipa_info_plist_value.rb +1 -1
  37. data/fastlane/lib/fastlane/actions/get_push_certificate.rb +13 -8
  38. data/fastlane/lib/fastlane/actions/get_version_number.rb +1 -3
  39. data/fastlane/lib/fastlane/actions/git_commit.rb +0 -4
  40. data/fastlane/lib/fastlane/actions/git_submodule_update.rb +0 -4
  41. data/fastlane/lib/fastlane/actions/git_tag_exists.rb +0 -4
  42. data/fastlane/lib/fastlane/actions/github_api.rb +5 -3
  43. data/fastlane/lib/fastlane/actions/google_play_track_version_codes.rb +1 -1
  44. data/fastlane/lib/fastlane/actions/gradle.rb +1 -3
  45. data/fastlane/lib/fastlane/actions/hg_commit_version_bump.rb +8 -5
  46. data/fastlane/lib/fastlane/actions/hg_ensure_clean_status.rb +1 -1
  47. data/fastlane/lib/fastlane/actions/hg_push.rb +1 -1
  48. data/fastlane/lib/fastlane/actions/hockey.rb +1 -1
  49. data/fastlane/lib/fastlane/actions/import.rb +2 -2
  50. data/fastlane/lib/fastlane/actions/import_from_git.rb +1 -4
  51. data/fastlane/lib/fastlane/actions/increment_version_number.rb +1 -2
  52. data/fastlane/lib/fastlane/actions/install_on_device.rb +1 -1
  53. data/fastlane/lib/fastlane/actions/ipa.rb +6 -4
  54. data/fastlane/lib/fastlane/actions/is_ci.rb +1 -4
  55. data/fastlane/lib/fastlane/actions/jazzy.rb +0 -3
  56. data/fastlane/lib/fastlane/actions/lane_context.rb +2 -2
  57. data/fastlane/lib/fastlane/actions/last_git_tag.rb +1 -1
  58. data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +2 -2
  59. data/fastlane/lib/fastlane/actions/modify_services.rb +1 -2
  60. data/fastlane/lib/fastlane/actions/notify.rb +1 -1
  61. data/fastlane/lib/fastlane/actions/number_of_commits.rb +1 -1
  62. data/fastlane/lib/fastlane/actions/oclint.rb +1 -1
  63. data/fastlane/lib/fastlane/actions/onesignal.rb +1 -1
  64. data/fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb +1 -3
  65. data/fastlane/lib/fastlane/actions/opt_out_usage.rb +4 -5
  66. data/fastlane/lib/fastlane/actions/pod_push.rb +0 -4
  67. data/fastlane/lib/fastlane/actions/podio_item.rb +5 -5
  68. data/fastlane/lib/fastlane/actions/prompt.rb +2 -2
  69. data/fastlane/lib/fastlane/actions/push_to_git_remote.rb +1 -5
  70. data/fastlane/lib/fastlane/actions/read_podspec.rb +3 -5
  71. data/fastlane/lib/fastlane/actions/register_device.rb +1 -1
  72. data/fastlane/lib/fastlane/actions/reset_git_repo.rb +8 -4
  73. data/fastlane/lib/fastlane/actions/resign.rb +11 -9
  74. data/fastlane/lib/fastlane/actions/rsync.rb +1 -1
  75. data/fastlane/lib/fastlane/actions/s3.rb +4 -2
  76. data/fastlane/lib/fastlane/actions/set_build_number_repository.rb +1 -1
  77. data/fastlane/lib/fastlane/actions/set_changelog.rb +1 -1
  78. data/fastlane/lib/fastlane/actions/set_github_release.rb +5 -5
  79. data/fastlane/lib/fastlane/actions/setup_circle_ci.rb +8 -5
  80. data/fastlane/lib/fastlane/actions/setup_jenkins.rb +10 -8
  81. data/fastlane/lib/fastlane/actions/setup_travis.rb +7 -4
  82. data/fastlane/lib/fastlane/actions/sh.rb +1 -1
  83. data/fastlane/lib/fastlane/actions/skip_docs.rb +1 -1
  84. data/fastlane/lib/fastlane/actions/slather.rb +4 -4
  85. data/fastlane/lib/fastlane/actions/sonar.rb +2 -2
  86. data/fastlane/lib/fastlane/actions/ssh.rb +1 -1
  87. data/fastlane/lib/fastlane/actions/swiftlint.rb +0 -3
  88. data/fastlane/lib/fastlane/actions/tryouts.rb +1 -1
  89. data/fastlane/lib/fastlane/actions/twitter.rb +1 -1
  90. data/fastlane/lib/fastlane/actions/unlock_keychain.rb +4 -2
  91. data/fastlane/lib/fastlane/actions/update_fastlane.rb +14 -7
  92. data/fastlane/lib/fastlane/actions/update_project_code_signing.rb +4 -3
  93. data/fastlane/lib/fastlane/actions/update_project_provisioning.rb +6 -7
  94. data/fastlane/lib/fastlane/actions/update_project_team.rb +1 -1
  95. data/fastlane/lib/fastlane/actions/update_urban_airship_configuration.rb +1 -1
  96. data/fastlane/lib/fastlane/actions/update_url_schemes.rb +1 -2
  97. data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +1 -7
  98. data/fastlane/lib/fastlane/actions/upload_symbols_to_sentry.rb +6 -8
  99. data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +2 -4
  100. data/fastlane/lib/fastlane/actions/upload_to_testflight.rb +2 -2
  101. data/fastlane/lib/fastlane/actions/verify_xcode.rb +1 -5
  102. data/fastlane/lib/fastlane/actions/version_bump_podspec.rb +3 -3
  103. data/fastlane/lib/fastlane/actions/xcode_server_get_assets.rb +5 -5
  104. data/fastlane/lib/fastlane/actions/xcov.rb +1 -1
  105. data/fastlane/lib/fastlane/actions/xctool.rb +3 -3
  106. data/fastlane/lib/fastlane/actions/zip.rb +0 -3
  107. data/fastlane/lib/fastlane/documentation/actions_list.rb +8 -2
  108. data/fastlane/lib/fastlane/lane_list.rb +2 -3
  109. data/fastlane/lib/fastlane/version.rb +1 -1
  110. metadata +14 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 932dac01c907852cb919b05b3093e81657858624
4
- data.tar.gz: 1f838b607c8af73be252538774950a0bf7f685a9
3
+ metadata.gz: 0dc2308fd48bff85fe0bd5efbdb6fdcc25246fc1
4
+ data.tar.gz: 954a3934b9e99a4b3f3b4c3715223ca7b0cc5d8a
5
5
  SHA512:
6
- metadata.gz: 2b080d33fad88e7204b8c211f03278d9c8f59925f9566909e4214739f10d0ed82e7e79bf5bc5e1f9417f448610eea7218b6beb6c649300362c18b61e85813488
7
- data.tar.gz: 8cf17e3115ab84ca7337970e0bc1a3d0140a0eb16ed79632be0c95364d53d7e0a6f922f8eb5a2b7ed22a071f8f5a856abb3e3f794210e90bd9da813635d5358e
6
+ metadata.gz: d74855863d7be32610b23fca788a37d160f9b75ab0396d434d41c2280a3cd8e866989d710b3cb858bc142a52d97edaa97ea524a8f7c5954787c95170f526ccb5
7
+ data.tar.gz: a7e4b36252fc51f91dce352895d0e590f42fe4f378276ad79f84b2d502c1634ae98596b22158ff04c99c7733a0a396a59e9bed8848645122d346c6d7ae31c598
@@ -14,7 +14,7 @@ To modify it, go to its source at https://github.com/fastlane/fastlane/blob/mast
14
14
  <%= @custom_content %>
15
15
  <hr />
16
16
  <% else %>
17
- <%= "> #{action.details.gsub("\n", "<br>")}" unless action.details.to_s.empty? %>
17
+ <%= "> #{action.details.gsub(/(?<!\|)\n/, "<br>").gsub(/\|(?=\n|$)/, "")}" unless action.details.to_s.empty? %>
18
18
  <% end %>
19
19
 
20
20
  <%= action.action_name %> ||
@@ -46,7 +46,7 @@ module Fastlane
46
46
  end
47
47
 
48
48
  def self.details
49
- nil # this is your change to provide a more detailed description of this action
49
+ nil # this is your chance to provide a more detailed description of this action
50
50
  end
51
51
 
52
52
  def self.available_options
@@ -152,3 +152,38 @@ module Fastlane
152
152
  end
153
153
  end
154
154
  end
155
+
156
+ class String
157
+ def markdown_preserve_newlines
158
+ self.gsub(/(\n|$)/, '|\1') # prepend new lines with "|" so the erb template knows *not* to replace them with "<br>"s
159
+ end
160
+
161
+ def markdown_sample(is_first = false)
162
+ self.markdown_clean_heredoc!
163
+ self.markdown_details(is_first)
164
+ end
165
+
166
+ def markdown_list(is_first = false)
167
+ self.markdown_clean_heredoc!
168
+ self.gsub!(/^/, "- ") # add list dashes
169
+ self.prepend(">") unless is_first # the empty line that will be added breaks the quote
170
+ self.markdown_details(is_first)
171
+ end
172
+
173
+ def markdown_details(is_first)
174
+ self.prepend("\n") unless is_first
175
+ self << "\n>" # continue the quote
176
+ self.markdown_preserve_newlines
177
+ end
178
+
179
+ def markdown_clean_heredoc!
180
+ self.chomp! # remove the last new line added by the heredoc
181
+ self.dedent! # remove the leading whitespace (similar to the squigly heredoc `<<~`)
182
+ end
183
+
184
+ def dedent!
185
+ first_line_indent = self.match(/^\s*/)[0]
186
+
187
+ self.gsub!(/^#{first_line_indent}/, "")
188
+ end
189
+ end
@@ -19,9 +19,7 @@ module Fastlane
19
19
  end
20
20
 
21
21
  def self.details
22
- [
23
- "see adb --help for more details"
24
- ].join("\n")
22
+ "see adb --help for more details"
25
23
  end
26
24
 
27
25
  def self.available_options
@@ -19,9 +19,7 @@ module Fastlane
19
19
  end
20
20
 
21
21
  def self.details
22
- [
23
- "Fetches device list via adb, e.g. run an adb command on all connected devices."
24
- ].join("\n")
22
+ "Fetches device list via adb, e.g. run an adb command on all connected devices."
25
23
  end
26
24
 
27
25
  def self.available_options
@@ -26,15 +26,18 @@ module Fastlane
26
26
  end
27
27
 
28
28
  def self.details
29
+ list = <<-LIST.markdown_list
30
+ `grouping` is just to keep your tags organised under one 'folder', defaults to 'builds'
31
+ `lane` is the name of the current fastlane lane
32
+ `prefix` is anything you want to stick in front of the version number, e.g. 'v'
33
+ `postfix` is anything you want to stick at the end of the version number, e.g. '-RC1'
34
+ `build_number` is the build number, which defaults to the value emitted by the `increment_build_number` action
35
+ LIST
36
+
29
37
  [
30
- "This will automatically tag your build with the following format: `<grouping>/<lane>/<prefix><build_number>`, where:",
31
- "- `grouping` is just to keep your tags organised under one 'folder', defaults to 'builds'",
32
- "- `lane` is the name of the current fastlane lane",
33
- "- `prefix` is anything you want to stick in front of the version number, e.g. 'v'",
34
- "- `postfix` is anything you want to stick at the end of the version number, e.g. '-RC1'",
35
- "- `build_number` is the build number, which defaults to the value emitted by the `increment_build_number` action",
36
- "",
37
- "For example for build 1234 in the 'appstore' lane it will tag the commit with `builds/appstore/1234`"
38
+ "This will automatically tag your build with the following format: `<grouping>/<lane>/<prefix><build_number>`, where:".markdown_preserve_newlines,
39
+ list,
40
+ "For example, for build 1234 in the 'appstore' lane, it will tag the commit with `builds/appstore/1234`."
38
41
  ].join("\n")
39
42
  end
40
43
 
@@ -155,7 +155,10 @@ module Fastlane
155
155
  end
156
156
 
157
157
  def self.details
158
- "Returns the current build number of either the live or testflight version - it is useful for getting the build_number of the current or ready-for-sale app version, and it also works on non-live testflight version. If you need to handle more build-trains please see `latest_testflight_build_number`"
158
+ [
159
+ "Returns the current build number of either the live or testflight version - it is useful for getting the build_number of the current or ready-for-sale app version, and it also works on non-live testflight version.",
160
+ "If you need to handle more build-trains please see `latest_testflight_build_number`."
161
+ ].join("\n")
159
162
  end
160
163
 
161
164
  def self.example_code
@@ -173,10 +173,9 @@ module Fastlane
173
173
 
174
174
  def self.details
175
175
  [
176
- "Appaloosa is a private mobile application store. This action ",
177
- "offers a quick deployment on the platform. You can create an ",
178
- "account, push to your existing account, or manage your user ",
179
- "groups. We accept iOS and Android applications."
176
+ "Appaloosa is a private mobile application store. This action offers a quick deployment on the platform.",
177
+ "You can create an account, push to your existing account, or manage your user groups.",
178
+ "We accept iOS and Android applications."
180
179
  ].join("\n")
181
180
  end
182
181
 
@@ -94,7 +94,7 @@ module Fastlane
94
94
  [
95
95
  "If you provide a `public_key`, this will overwrite an existing application. If you want to have this build as a new app version, you shouldn't provide this value.",
96
96
  "",
97
- "To integrate appetize into your GitHub workflow check out the [device_grid guide](https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/device_grid/README.md)"
97
+ "To integrate appetize into your GitHub workflow check out the [device_grid guide](https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/device_grid/README.md)."
98
98
  ].join("\n")
99
99
  end
100
100
 
@@ -38,11 +38,11 @@ module Fastlane
38
38
 
39
39
  def self.details
40
40
  [
41
- "[Please use the badge fastlane plugin instead: https://github.com/HazAT/fastlane-plugin-badge]",
41
+ "Please use the [badge plugin](https://github.com/HazAT/fastlane-plugin-badge) instead.",
42
42
  "This action will add a light/dark badge onto your app icon.",
43
- "You can also provide your custom badge/overlay or add an shield for more customization more info:",
44
- "https://github.com/HazAT/badge",
45
- "**Note** If you want to reset the badge back to default you can use `sh 'git checkout -- <path>/Assets.xcassets/'`"
43
+ "You can also provide your custom badge/overlay or add a shield for more customization.",
44
+ "More info: [https://github.com/HazAT/badge](https://github.com/HazAT/badge)",
45
+ "**Note**: If you want to reset the badge back to default, you can use `sh 'git checkout -- <path>/Assets.xcassets/'`."
46
46
  ].join("\n")
47
47
  end
48
48
 
@@ -39,8 +39,8 @@ module Fastlane
39
39
 
40
40
  def self.details
41
41
  [
42
- "This should be called from danger",
43
- "More information in the [device_grid guide](https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/device_grid/README.md)"
42
+ "This should be called from danger.",
43
+ "More information in the [device_grid guide](https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/device_grid/README.md)."
44
44
  ].join("\n")
45
45
  end
46
46
 
@@ -72,7 +72,7 @@ module Fastlane
72
72
  end
73
73
 
74
74
  def self.details
75
- "Information on how to obtain an API token: http://developer.chatwork.com/ja/authenticate.html"
75
+ "Information on how to obtain an API token: [http://developer.chatwork.com/ja/authenticate.html](http://developer.chatwork.com/ja/authenticate.html)"
76
76
  end
77
77
 
78
78
  def self.example_code
@@ -28,7 +28,7 @@ module Fastlane
28
28
  def self.details
29
29
  [
30
30
  "This action will run cloc to generate a SLOC report that the Jenkins SLOCCount plugin can read.",
31
- "See https://wiki.jenkins-ci.org/display/JENKINS/SLOCCount+Plugin and https://github.com/AlDanial/cloc for more information."
31
+ "See [https://wiki.jenkins-ci.org/display/JENKINS/SLOCCount+Plugin](https://wiki.jenkins-ci.org/display/JENKINS/SLOCCount+Plugin) and [https://github.com/AlDanial/cloc](https://github.com/AlDanial/cloc) for more information."
32
32
  ].join("\n")
33
33
  end
34
34
 
@@ -77,10 +77,11 @@ module Fastlane
77
77
  end
78
78
 
79
79
  def self.details
80
- "Commits a file directly to GitHub. You must provide your GitHub Personal token
81
- (get one from https://github.com/settings/tokens/new), the repository name and the relative file path from the root git project.
82
- Out parameters provide the commit sha created, which can be used for later usage for examples such as releases, the direct download link and the full response JSON.
83
- Documentation: https://developer.github.com/v3/repos/contents/#create-a-file"
80
+ [
81
+ "Commits a file directly to GitHub. You must provide your GitHub Personal token (get one from [https://github.com/settings/tokens/new](https://github.com/settings/tokens/new)), the repository name and the relative file path from the root git project.",
82
+ "Out parameters provide the commit sha created, which can be used for later usage for examples such as releases, the direct download link and the full response JSON.",
83
+ "Documentation: [https://developer.github.com/v3/repos/contents/#create-a-file](https://developer.github.com/v3/repos/contents/#create-a-file)."
84
+ ].join("\n")
84
85
  end
85
86
 
86
87
  def self.available_options
@@ -184,18 +184,18 @@ module Fastlane
184
184
  end
185
185
 
186
186
  def self.details
187
+ list = <<-LIST.markdown_list
188
+ All `.plist` files
189
+ The `.xcodeproj/project.pbxproj` file
190
+ LIST
191
+
187
192
  [
188
193
  "This action will create a 'Version Bump' commit in your repo. Useful in conjunction with `increment_build_number`.",
189
- "",
190
- "It checks the repo to make sure that only the relevant files have changed, these are the files that `increment_build_number` (`agvtool`) touches:",
191
- "- All .plist files",
192
- "- The `.xcodeproj/project.pbxproj` file",
193
- "",
194
+ "It checks the repo to make sure that only the relevant files have changed. These are the files that `increment_build_number` (`agvtool`) touches:".markdown_preserve_newlines,
195
+ list,
194
196
  "Then commits those files to the repo.",
195
- "",
196
- "Customize the message with the `:message` option, defaults to 'Version Bump'",
197
- "",
198
- "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` action to clean those temporary files up before running this action."
197
+ "Customize the message with the `:message` option. It defaults to 'Version Bump'.",
198
+ "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](https://docs.fastlane.tools/actions/clean_build_artifacts/) action to clean those temporary files up before running this action."
199
199
  ].join("\n")
200
200
  end
201
201
 
@@ -48,8 +48,8 @@ module Fastlane
48
48
 
49
49
  def self.details
50
50
  [
51
- "This action copies artifacts to a target directory. It's useful if you have a CI that will pick up these artifacts and attach them to the build. Useful e.g. for storing your `.ipa`s, `.dSYM.zip`s, `.mobileprovision`s, `.cert`s",
52
- "Make sure your target_path is gitignored, and if you use `reset_git_repo`, make sure the artifacts are added to the exclude list"
51
+ "This action copies artifacts to a target directory. It's useful if you have a CI that will pick up these artifacts and attach them to the build. Useful e.g. for storing your `.ipa`s, `.dSYM.zip`s, `.mobileprovision`s, `.cert`s.",
52
+ "Make sure your `:target_path` is ignored from git, and if you use `reset_git_repo`, make sure the artifacts are added to the exclude list."
53
53
  ].join("\n")
54
54
  end
55
55
 
@@ -161,8 +161,8 @@ module Fastlane
161
161
 
162
162
  def self.details
163
163
  [
164
- "Additionally you can specify `notes`, `emails`, `groups` and `notifications`.",
165
- "Distributing to Groups: When using the `groups` parameter, it's important to use the group **alias** names for each group you'd like to distribute to. A group's alias can be found in the web UI. If you're viewing the Beta page, you can open the groups dialog here:"
164
+ "Additionally, you can specify `notes`, `emails`, `groups` and `notifications`.",
165
+ "Distributing to Groups: When using the `groups` parameter, it's important to use the group **alias** names for each group you'd like to distribute to. A group's alias can be found in the web UI. If you're viewing the Beta page, you can open the groups dialog by clicking the 'Manage Groups' button."
166
166
  ].join("\n")
167
167
  end
168
168
 
@@ -25,13 +25,12 @@ module Fastlane
25
25
  "Creates the given application on iTC and the Dev Portal (via _produce_)"
26
26
  end
27
27
 
28
- def details
28
+ def self.details
29
29
  [
30
- 'Create new apps on iTunes Connect and Apple Developer Portal via _produce_.',
31
- 'If the app already exists, `create_app_online` will not do anything.',
32
- 'For more information about produce, visit its documentation page:',
33
- 'https://docs.fastlane.tools/actions/produce/'
34
- ].join(' ')
30
+ "Create new apps on iTunes Connect and Apple Developer Portal via _produce_.",
31
+ "If the app already exists, `create_app_online` will not do anything.",
32
+ "For more information about _produce_, visit its documentation page: [https://docs.fastlane.tools/actions/produce/](https://docs.fastlane.tools/actions/produce/)."
33
+ ].join("\n")
35
34
  end
36
35
 
37
36
  def self.available_options
@@ -34,7 +34,7 @@ module Fastlane
34
34
  def self.details
35
35
  [
36
36
  "Formalize your Pull Request etiquette.",
37
- "More information: https://github.com/danger/danger"
37
+ "More information: [https://github.com/danger/danger](https://github.com/danger/danger)."
38
38
  ].join("\n")
39
39
  end
40
40
 
@@ -23,7 +23,7 @@ module Fastlane
23
23
  end
24
24
 
25
25
  def self.details
26
- "Keychains can be deleted after being creating with `create_keychain`"
26
+ "Keychains can be deleted after being created with `create_keychain`"
27
27
  end
28
28
 
29
29
  def self.description
@@ -104,7 +104,7 @@ module Fastlane
104
104
 
105
105
  def self.details
106
106
  [
107
- "You can retrieve your username and API token on [your settings page](https://deploygate.com/settings)",
107
+ "You can retrieve your username and API token on [your settings page](https://deploygate.com/settings).",
108
108
  "More information about the available options can be found in the [DeployGate Push API document](https://deploygate.com/docs/api)."
109
109
  ].join("\n")
110
110
  end
@@ -17,7 +17,7 @@ module Fastlane
17
17
  end
18
18
 
19
19
  def self.details
20
- "More information about dotgpg can be found at https://github.com/ConradIrwin/dotgpg"
20
+ "More information about dotgpg can be found at [https://github.com/ConradIrwin/dotgpg](https://github.com/ConradIrwin/dotgpg)."
21
21
  end
22
22
 
23
23
  def self.available_options
@@ -31,9 +31,8 @@ module Fastlane
31
31
 
32
32
  def self.details
33
33
  [
34
- "Specify the URL to download and get the content as a return value",
35
- "For more advanced networking code, use the Ruby functions instead:",
36
- "http://docs.ruby-lang.org/en/2.0.0/Net/HTTP.html"
34
+ "Specify the URL to download and get the content as a return value.",
35
+ "For more advanced networking code, use the Ruby functions instead: [http://docs.ruby-lang.org/en/2.0.0/Net/HTTP.html](http://docs.ruby-lang.org/en/2.0.0/Net/HTTP.html)."
37
36
  ].join("\n")
38
37
  end
39
38
 
@@ -124,16 +124,19 @@ module Fastlane
124
124
  end
125
125
 
126
126
  def self.details
127
+ sample = <<-SAMPLE.markdown_sample
128
+ ```ruby
129
+ lane :refresh_dsyms do
130
+ download_dsyms # Download dSYM files from iTC
131
+ upload_symbols_to_crashlytics # Upload them to Crashlytics
132
+ clean_build_artifacts # Delete the local dSYM files
133
+ end
134
+ ```
135
+ SAMPLE
136
+
127
137
  [
128
- "This action downloads dSYM files from Apple iTunes Connect after",
129
- "the ipa got re-compiled by Apple. Useful if you have Bitcode enabled",
130
- "```ruby",
131
- "lane :refresh_dsyms do",
132
- " download_dsyms # Download dSYM files from iTC",
133
- " upload_symbols_to_crashlytics # Upload them to Crashlytics",
134
- " clean_build_artifacts # Delete the local dSYM files",
135
- "end",
136
- "```"
138
+ "This action downloads dSYM files from Apple iTunes Connect after the ipa gets re-compiled by Apple. Useful if you have Bitcode enabled.".markdown_preserve_newlines,
139
+ sample
137
140
  ].join("\n")
138
141
  end
139
142
 
@@ -25,9 +25,8 @@ module Fastlane
25
25
 
26
26
  def self.details
27
27
  [
28
- 'This action will check if your git repo is checked out to a specific branch.',
29
- 'You may only want to make releases from a specific branch, so `ensure_git_branch`',
30
- 'will stop a lane if it was accidentally executed on an incorrect branch.'
28
+ "This action will check if your git repo is checked out to a specific branch.",
29
+ "You may only want to make releases from a specific branch, so `ensure_git_branch` will stop a lane if it was accidentally executed on an incorrect branch."
31
30
  ].join("\n")
32
31
  end
33
32
 
@@ -30,11 +30,9 @@ module Fastlane
30
30
 
31
31
  def self.details
32
32
  [
33
- 'A sanity check to make sure you are working in a repo that is clean. Especially',
34
- 'useful to put at the beginning of your Fastfile in the `before_all` block, if',
35
- 'some of your other actions will touch your filesystem, do things to your git repo,',
36
- 'or just as a general reminder to save your work. Also needed as a prerequisite for',
37
- 'some other actions like `reset_git_repo`.'
33
+ "A sanity check to make sure you are working in a repo that is clean.",
34
+ "Especially useful to put at the beginning of your Fastfile in the `before_all` block, if some of your other actions will touch your filesystem, do things to your git repo, or just as a general reminder to save your work.",
35
+ "Also needed as a prerequisite for some other actions like `reset_git_repo`."
38
36
  ].join("\n")
39
37
  end
40
38
 
@@ -56,9 +56,8 @@ module Fastlane
56
56
 
57
57
  def self.details
58
58
  [
59
- "You don't want any debug code to slip into production. This can be used",
60
- "to check if there is any debug code still in your code base or if you have",
61
- "things like // TO DO or similar"
59
+ "You don't want any debug code to slip into production.",
60
+ "This can be used to check if there is any debug code still in your codebase or if you have things like `// TO DO` or similar."
62
61
  ].join("\n")
63
62
  end
64
63
 
@@ -29,8 +29,10 @@ module Fastlane
29
29
  end
30
30
 
31
31
  def self.details
32
- "If building your app requires a specific version of Xcode, you can invoke this command before using gym.\n
33
- For example, to ensure that a beta version of Xcode is not accidentally selected to build, which would make uploading to TestFlight fail."
32
+ [
33
+ "If building your app requires a specific version of Xcode, you can invoke this command before using gym.",
34
+ "For example, to ensure that a beta version of Xcode is not accidentally selected to build, which would make uploading to TestFlight fail."
35
+ ].join("\n")
34
36
  end
35
37
 
36
38
  def self.available_options
@@ -19,8 +19,8 @@ module Fastlane
19
19
 
20
20
  def self.details
21
21
  [
22
- "Renders an ERB template with `placeholders` given as a hash via parameter,",
23
- "if no :destination is set, returns rendered template as string"
22
+ "Renders an ERB template with `:placeholders` given as a hash via parameter.",
23
+ "If no `:destination` is set, it returns the rendered template as string."
24
24
  ].join("\n")
25
25
  end
26
26