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
@@ -46,6 +46,13 @@ module Fastlane
46
46
  "Small action to save your build artifacts. Useful when you use reset_git_repo"
47
47
  end
48
48
 
49
+ def self.details
50
+ [
51
+ "This action copies artifacs 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"
53
+ ].join("\n")
54
+ end
55
+
49
56
  def self.available_options
50
57
  [
51
58
  FastlaneCore::ConfigItem.new(key: :keep_original,
@@ -78,6 +85,24 @@ module Fastlane
78
85
  def self.is_supported?(platform)
79
86
  true
80
87
  end
88
+
89
+ def self.example_code
90
+ [
91
+ 'copy_artifacts(
92
+ target_path: "artifacts",
93
+ artifacts: ["*.cer", "*.mobileprovision", "*.ipa", "*.dSYM.zip"]
94
+ )
95
+
96
+ # Reset the git repo to a clean state, but leave our artifacts in place
97
+ reset_git_repo(
98
+ exclude: "artifacts"
99
+ )'
100
+ ]
101
+ end
102
+
103
+ def self.category
104
+ :misc
105
+ end
81
106
  end
82
107
  end
83
108
  end
@@ -76,7 +76,7 @@ module Fastlane
76
76
  # iOS Specific
77
77
  FastlaneCore::ConfigItem.new(key: :ipa_path,
78
78
  env_name: "CRASHLYTICS_IPA_PATH",
79
- description: "Path to your IPA file. Optional if you use the `gym` or `xcodebuild` action",
79
+ description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action",
80
80
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || ipa_path_default,
81
81
  optional: true,
82
82
  verify_block: proc do |value|
@@ -154,6 +154,29 @@ module Fastlane
154
154
  def self.author
155
155
  ["KrauseFx", "pedrogimenez"]
156
156
  end
157
+
158
+ def self.details
159
+ [
160
+ "Additionally you can specify `notes`, `emails`, `groups` and `notifications`.",
161
+ "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:"
162
+ ].join("\n")
163
+ end
164
+
165
+ def self.example_code
166
+ [
167
+ 'crashlytics',
168
+ 'crashlytics(
169
+ crashlytics_path: "./Pods/Crashlytics/", # path to your Crashlytics submit binary.
170
+ api_token: "...",
171
+ build_secret: "...",
172
+ ipa_path: "./app.ipa"
173
+ )'
174
+ ]
175
+ end
176
+
177
+ def self.category
178
+ :beta
179
+ end
157
180
  end
158
181
  end
159
182
  end
@@ -86,6 +86,22 @@ module Fastlane
86
86
  def self.is_supported?(platform)
87
87
  true
88
88
  end
89
+
90
+ def self.example_code
91
+ [
92
+ 'create_keychain(
93
+ name: "KeychainName",
94
+ default_keychain: true,
95
+ unlock: true,
96
+ timeout: 3600,
97
+ lock_when_sleeps: true
98
+ )'
99
+ ]
100
+ end
101
+
102
+ def self.category
103
+ :misc
104
+ end
89
105
  end
90
106
  end
91
107
  end
@@ -95,6 +95,24 @@ module Fastlane
95
95
  def self.is_supported?(platform)
96
96
  return true
97
97
  end
98
+
99
+ def self.example_code
100
+ [
101
+ 'create_pull_request(
102
+ api_token: ENV["GITHUB_TOKEN"],
103
+ repo: "fastlane/fastlane",
104
+ title: "Amazing new feature",
105
+ head: "my-feature", # optional, defaults to current branch name
106
+ base: "master", # optional, defaults to "master"
107
+ body: "Please pull this in!", # optional
108
+ api_url: "http://yourdomain/api/v3" # optional, for Github Enterprise, defaults to "https://api.github.com"
109
+ )'
110
+ ]
111
+ end
112
+
113
+ def self.category
114
+ :source_control
115
+ end
98
116
  end
99
117
  end
100
118
  end
@@ -24,7 +24,10 @@ module Fastlane
24
24
  end
25
25
 
26
26
  def self.details
27
- "More information: https://github.com/danger/danger"
27
+ [
28
+ "Formalize your Pull Request etiquette.",
29
+ "More information: https://github.com/danger/danger"
30
+ ].join("\n")
28
31
  end
29
32
 
30
33
  def self.available_options
@@ -61,6 +64,22 @@ module Fastlane
61
64
  true
62
65
  end
63
66
 
67
+ def self.example_code
68
+ [
69
+ 'danger',
70
+ 'danger(
71
+ danger_id: "unit-tests",
72
+ dangerfile: "tests/MyOtherDangerFile",
73
+ github_api_token: ENV["GITHUB_API_TOKEN"],
74
+ verbose: true
75
+ )'
76
+ ]
77
+ end
78
+
79
+ def self.category
80
+ :misc
81
+ end
82
+
64
83
  def self.authors
65
84
  ["KrauseFx"]
66
85
  end
@@ -14,6 +14,16 @@ module Fastlane
14
14
  true
15
15
  end
16
16
 
17
+ def self.example_code
18
+ [
19
+ 'debug'
20
+ ]
21
+ end
22
+
23
+ def self.category
24
+ :misc
25
+ end
26
+
17
27
  def self.author
18
28
  "KrauseFx"
19
29
  end
@@ -19,6 +19,16 @@ module Fastlane
19
19
  "Defines a default platform to not have to specify the platform"
20
20
  end
21
21
 
22
+ def self.example_code
23
+ [
24
+ 'default_platform :android'
25
+ ]
26
+ end
27
+
28
+ def self.category
29
+ :misc
30
+ end
31
+
22
32
  def self.author
23
33
  "KrauseFx"
24
34
  end
@@ -9,6 +9,10 @@ module Fastlane
9
9
  Fastlane::Actions.sh "security delete-keychain #{params[:name].shellescape}", log: false
10
10
  end
11
11
 
12
+ def self.details
13
+ "Keychains can be deleted after being creating with `create_keychain`"
14
+ end
15
+
12
16
  def self.description
13
17
  "Delete keychains and remove them from the search list"
14
18
  end
@@ -22,6 +26,16 @@ module Fastlane
22
26
  ]
23
27
  end
24
28
 
29
+ def self.example_code
30
+ [
31
+ 'delete_keychain(name: "KeychainName")'
32
+ ]
33
+ end
34
+
35
+ def self.category
36
+ :misc
37
+ end
38
+
25
39
  def self.authors
26
40
  ["gin0606"]
27
41
  end
@@ -25,6 +25,18 @@ module Fastlane
25
25
  "Uses deliver to upload new app metadata and builds to iTunes Connect"
26
26
  end
27
27
 
28
+ def self.details
29
+ [
30
+ "Using _deliver_ after _gym_ and _snapshot_ will automatically upload the",
31
+ "latest ipa and screenshots with no other configuration",
32
+ "",
33
+ "If you don't want a PDF report for App Store builds, use the `:force` option.",
34
+ "This is useful when running _fastlane_ on your Continuous Integration server: `deliver(force: true)`",
35
+ "If your account is on multiple teams and you need to tell the `iTMSTransporter`",
36
+ "which 'provider' to use, you can set the `itc_provider` option to pass this info."
37
+ ].join("\n")
38
+ end
39
+
28
40
  def self.available_options
29
41
  require "deliver"
30
42
  require "deliver/options"
@@ -38,6 +50,20 @@ module Fastlane
38
50
  def self.is_supported?(platform)
39
51
  [:ios, :mac].include?(platform)
40
52
  end
53
+
54
+ def self.example_code
55
+ [
56
+ 'deliver(
57
+ force: true, # Set to true to skip PDF verification
58
+ itc_provider: "abcde12345" # pass a specific value to the iTMSTransporter -itc_provider option
59
+
60
+ )'
61
+ ]
62
+ end
63
+
64
+ def self.category
65
+ :production
66
+ end
41
67
  end
42
68
  end
43
69
  end
@@ -84,7 +84,14 @@ module Fastlane
84
84
  private_class_method :help_message
85
85
 
86
86
  def self.description
87
- "Upload a new build to DeployGate"
87
+ "Upload a new build to [DeployGate](https://deploygate.com/)"
88
+ end
89
+
90
+ def self.details
91
+ [
92
+ "You can retrieve your username and API token on [your settings page](https://deploygate.com/settings)",
93
+ "More information about the available options can be found in the [DeployGate Push API document](https://deploygate.com/docs/api)."
94
+ ].join("\n")
88
95
  end
89
96
 
90
97
  def self.available_options
@@ -103,7 +110,7 @@ module Fastlane
103
110
  end),
104
111
  FastlaneCore::ConfigItem.new(key: :ipa,
105
112
  env_name: "DEPLOYGATE_IPA_PATH",
106
- description: "Path to your IPA file. Optional if you use the `gym` or `xcodebuild` action",
113
+ description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action",
107
114
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
108
115
  verify_block: proc do |value|
109
116
  UI.user_error!("Couldn't find ipa file at path '#{value}'") unless File.exist?(value)
@@ -131,6 +138,22 @@ module Fastlane
131
138
  ]
132
139
  end
133
140
 
141
+ def self.example_code
142
+ [
143
+ 'deploygate(
144
+ api_token: "...",
145
+ user: "target username or organization name",
146
+ ipa: "./ipa_file.ipa",
147
+ message: "Build #{lane_context[SharedValues::BUILD_NUMBER]}",
148
+ distribution_key: "(Optional) Target Distribution Key"
149
+ )'
150
+ ]
151
+ end
152
+
153
+ def self.category
154
+ :beta
155
+ end
156
+
134
157
  def self.author
135
158
  "tnj"
136
159
  end
@@ -37,6 +37,16 @@ module Fastlane
37
37
  ["simonlevy5"]
38
38
  end
39
39
 
40
+ def self.example_code
41
+ [
42
+ "dotgpg_environment(dotgpg_file: './path/to/gpgfile')"
43
+ ]
44
+ end
45
+
46
+ def self.category
47
+ :misc
48
+ end
49
+
40
50
  def self.is_supported?(platform)
41
51
  true
42
52
  end
@@ -54,6 +54,16 @@ module Fastlane
54
54
  ]
55
55
  end
56
56
 
57
+ def self.example_code
58
+ [
59
+ 'data = download(url: "https://host.com/api.json")'
60
+ ]
61
+ end
62
+
63
+ def self.category
64
+ :misc
65
+ end
66
+
57
67
  def self.authors
58
68
  ["KrauseFx"]
59
69
  end
@@ -87,8 +87,15 @@ module Fastlane
87
87
  def self.details
88
88
  [
89
89
  "This action downloads dSYM files from Apple iTunes Connect after",
90
- "the ipa got re-compiled by Apple. Useful if you have Bitcode enabled"
91
- ].join(" ")
90
+ "the ipa got re-compiled by Apple. Useful if you have Bitcode enabled",
91
+ "```ruby",
92
+ "lane :refresh_dsyms do",
93
+ " download_dsyms # Download dSYM files from iTC",
94
+ " upload_symbols_to_crashlytics # Upload them to Crashlytics",
95
+ " clean_build_artifacts # Delete the local dSYM files",
96
+ "end",
97
+ "```"
98
+ ].join("\n")
92
99
  end
93
100
 
94
101
  def self.available_options
@@ -161,6 +168,17 @@ module Fastlane
161
168
  def self.is_supported?(platform)
162
169
  platform == :ios
163
170
  end
171
+
172
+ def self.example_code
173
+ [
174
+ 'download_dsyms',
175
+ 'download_dsyms(version: "1.0.0", build_number: "345")'
176
+ ]
177
+ end
178
+
179
+ def self.category
180
+ :misc
181
+ end
164
182
  end
165
183
  end
166
184
  end
@@ -38,6 +38,10 @@ module Fastlane
38
38
  'Creates a zipped dSYM in the project root from the .xcarchive'
39
39
  end
40
40
 
41
+ def self.details
42
+ "You can manually specify the path to the xcarchive (not needed if you use `xcodebuild`/`xcarchive` to build your archive)"
43
+ end
44
+
41
45
  def self.available_options
42
46
  [
43
47
  FastlaneCore::ConfigItem.new(key: :archive_path,
@@ -70,6 +74,19 @@ module Fastlane
70
74
  def self.author
71
75
  'lmirosevic'
72
76
  end
77
+
78
+ def self.example_code
79
+ [
80
+ 'dsym_zip',
81
+ 'dsym_zip(
82
+ archive_path: "MyApp.xcarchive"
83
+ )'
84
+ ]
85
+ end
86
+
87
+ def self.category
88
+ :misc
89
+ end
73
90
  end
74
91
  end
75
92
  end
@@ -23,6 +23,14 @@ module Fastlane
23
23
  "Raises an exception if not on a specific git branch"
24
24
  end
25
25
 
26
+ def self.details
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.'
31
+ ].join("\n")
32
+ end
33
+
26
34
  def self.available_options
27
35
  [
28
36
  FastlaneCore::ConfigItem.new(key: :branch,
@@ -41,6 +49,19 @@ module Fastlane
41
49
  ['dbachrach', 'Liquidsoul']
42
50
  end
43
51
 
52
+ def self.example_code
53
+ [
54
+ "ensure_git_branch # defaults to `master` branch",
55
+ "ensure_git_branch(
56
+ branch: 'develop'
57
+ )"
58
+ ]
59
+ end
60
+
61
+ def self.category
62
+ :source_control
63
+ end
64
+
44
65
  def self.is_supported?(platform)
45
66
  true
46
67
  end