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
@@ -84,6 +84,19 @@ module Fastlane
84
84
  def self.is_supported?(platform)
85
85
  platform == :ios
86
86
  end
87
+
88
+ def self.example_code
89
+ [
90
+ 'apteligent(
91
+ app_id: "...",
92
+ api_key: "..."
93
+ )'
94
+ ]
95
+ end
96
+
97
+ def self.category
98
+ :beta
99
+ end
87
100
  end
88
101
  end
89
102
  end
@@ -47,6 +47,23 @@ module Fastlane
47
47
  ["koglinjg"]
48
48
  end
49
49
 
50
+ def self.example_code
51
+ [
52
+ 'artifactory(
53
+ username: "username",
54
+ password: "password",
55
+ endpoint: "https://artifactory.example.com/artifactory/",
56
+ file: "example.ipa", # File to upload
57
+ repo: "mobile_artifacts", # Artifactory repo
58
+ repo_path: "/ios/appname/example-major.minor.ipa" # Path to place the artifact including its filename
59
+ )'
60
+ ]
61
+ end
62
+
63
+ def self.category
64
+ :misc
65
+ end
66
+
50
67
  def self.available_options
51
68
  [
52
69
  FastlaneCore::ConfigItem.new(key: :file,
@@ -26,6 +26,16 @@ module Fastlane
26
26
  optional: false)
27
27
  ]
28
28
  end
29
+
30
+ def self.example_code
31
+ [
32
+ 'backup_file(path: "/path/to/file")'
33
+ ]
34
+ end
35
+
36
+ def self.category
37
+ :misc
38
+ end
29
39
  end
30
40
  end
31
41
  end
@@ -103,6 +103,21 @@ module Fastlane
103
103
  def self.is_supported?(platform)
104
104
  [:ios, :mac].include? platform
105
105
  end
106
+
107
+ def self.example_code
108
+ [
109
+ 'backup_xcarchive(
110
+ xcarchive: "/path/to/file.xcarchive", # Optional if you use the `xcodebuild` action
111
+ destination: "/somewhere/else/file.xcarchive", # Where the backup should be created
112
+ zip: false, # Enable compression of the archive. Defaults to `true`.
113
+ versioned: true # Create a versioned (date and app version) subfolder where to put the archive. Default value `true`
114
+ )'
115
+ ]
116
+ end
117
+
118
+ def self.category
119
+ :misc
120
+ end
106
121
  end
107
122
  end
108
123
  end
@@ -31,10 +31,24 @@ module Fastlane
31
31
  [
32
32
  "This action will add a light/dark badge onto your app icon.",
33
33
  "You can also provide your custom badge/overlay or add an shield for more customization more info:",
34
- "https://github.com/HazAT/badge"
34
+ "https://github.com/HazAT/badge",
35
+ "**Note** If you want to reset the badge back to default you can use `sh 'git checkout -- <path>/Assets.xcassets/'`"
35
36
  ].join("\n")
36
37
  end
37
38
 
39
+ def self.example_code
40
+ [
41
+ 'badge(dark: true)',
42
+ 'badge(alpha: true)',
43
+ 'badge(custom: "/Users/xxx/Desktop/badge.png")',
44
+ 'badge(shield: "Version-0.0.3-blue", no_badge: true)'
45
+ ]
46
+ end
47
+
48
+ def self.category
49
+ :misc
50
+ end
51
+
38
52
  def self.available_options
39
53
  [
40
54
  FastlaneCore::ConfigItem.new(key: :dark,
@@ -38,7 +38,10 @@ module Fastlane
38
38
  end
39
39
 
40
40
  def self.details
41
- "This should be called from danger"
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)"
44
+ ].join("\n")
42
45
  end
43
46
 
44
47
  def self.available_options
@@ -75,6 +78,16 @@ module Fastlane
75
78
  def self.is_supported?(platform)
76
79
  platform == :ios
77
80
  end
81
+
82
+ def self.example_code
83
+ [
84
+
85
+ ]
86
+ end
87
+
88
+ def self.category
89
+ :misc
90
+ end
78
91
  end
79
92
  end
80
93
  end
@@ -55,6 +55,15 @@ module Fastlane
55
55
  ["birmacher", "koglinjg"]
56
56
  end
57
57
 
58
+ def self.example_code
59
+ [
60
+ ]
61
+ end
62
+
63
+ def self.category
64
+ :misc
65
+ end
66
+
58
67
  def self.available_options
59
68
  [
60
69
  FastlaneCore::ConfigItem.new(key: :binstubs,
@@ -132,6 +132,29 @@ module Fastlane
132
132
  ]
133
133
  end
134
134
 
135
+ def self.example_code
136
+ [
137
+ 'carthage',
138
+ 'carthage(
139
+ command: "bootstrap", # One of: build, bootstrap, update, archive. (default: bootstrap)
140
+ dependencies: ["Alamofire", "Notice"], # Specify which dependencies to update (only for the update command)
141
+ use_ssh: false, # Use SSH for downloading GitHub repositories.
142
+ use_submodules: false, # Add dependencies as Git submodules.
143
+ use_binaries: true, # Check out dependency repositories even when prebuilt frameworks exist
144
+ no_build: false, # When bootstrapping Carthage do not build
145
+ no_skip_current: false, # Don\'t skip building the current project (only for frameworks)
146
+ verbose: false, # Print xcodebuild output inline
147
+ platform: "all", # Define which platform to build for (one of ‘all’, ‘Mac’, ‘iOS’, ‘watchOS’, ‘tvOS‘, or comma-separated values of the formers except for ‘all’)
148
+ configuration: "Release", # Build configuration to use when building
149
+ toolchain: "com.apple.dt.toolchain.Swift_2_3" # Specify the xcodebuild toolchain
150
+ )'
151
+ ]
152
+ end
153
+
154
+ def self.category
155
+ :building
156
+ end
157
+
135
158
  def self.is_supported?(platform)
136
159
  [:ios, :mac].include? platform
137
160
  end
@@ -34,6 +34,13 @@ module Fastlane
34
34
  "Fetch or generate the latest available code signing identity"
35
35
  end
36
36
 
37
+ def self.details
38
+ [
39
+ "**Important**: It is recommended to use [match](https://github.com/fastlane/fastlane/tree/master/match) according to the [codesigning.guide](https://codesigning.guide) for generating and maintaining your certificates. Use _cert_ directly only if you want full control over what's going on and know more about codesigning.",
40
+ "Use this action to download the latest code signing identity"
41
+ ].join("\n")
42
+ end
43
+
37
44
  def self.available_options
38
45
  require 'cert'
39
46
  Cert::Options.available_options
@@ -46,6 +53,20 @@ module Fastlane
46
53
  def self.is_supported?(platform)
47
54
  platform == :ios
48
55
  end
56
+
57
+ def self.example_code
58
+ [
59
+ 'cert',
60
+ 'cert(
61
+ development: true,
62
+ username: "user@email.com"
63
+ )'
64
+ ]
65
+ end
66
+
67
+ def self.category
68
+ :code_signing
69
+ end
49
70
  end
50
71
  end
51
72
  end
@@ -130,6 +130,22 @@ module Fastlane
130
130
  def self.is_supported?(platform)
131
131
  true
132
132
  end
133
+
134
+ def self.example_code
135
+ [
136
+ 'changelog_from_git_commits',
137
+ 'changelog_from_git_commits(
138
+ between: ["7b092b3", "HEAD"], # Optional, lets you specify a revision/tag range between which to collect commit info
139
+ pretty: "- (%ae) %s", # Optional, lets you provide a custom format to apply to each commit when generating the changelog text
140
+ match_lightweight_tag: false, # Optional, lets you ignore lightweight (non-annotated) tags when searching for the last tag
141
+ include_merges: true # Optional, lets you filter out merge commits
142
+ )'
143
+ ]
144
+ end
145
+
146
+ def self.category
147
+ :source_control
148
+ end
133
149
  end
134
150
  end
135
151
  end
@@ -63,12 +63,31 @@ module Fastlane
63
63
  end
64
64
 
65
65
  def self.author
66
- "ChatWork Inc."
66
+ "astronaughts"
67
67
  end
68
68
 
69
69
  def self.is_supported?(platform)
70
70
  true
71
71
  end
72
+
73
+ def self.details
74
+ "Information on how to obtain an API token: http://developer.chatwork.com/ja/authenticate.html"
75
+ end
76
+
77
+ def self.example_code
78
+ [
79
+ 'chatwork(
80
+ message: "App successfully released!",
81
+ roomid: 12345,
82
+ success: true,
83
+ api_token: "Your Token"
84
+ )'
85
+ ]
86
+ end
87
+
88
+ def self.category
89
+ :notifications
90
+ end
72
91
  end
73
92
  end
74
93
  end
@@ -35,7 +35,15 @@ module Fastlane
35
35
  end
36
36
 
37
37
  def self.description
38
- "Deletes files created as result of running ipa, cert, sigh or download_dsyms"
38
+ "Deletes files created as result of running gym, cert, sigh or download_dsyms"
39
+ end
40
+
41
+ def self.details
42
+ [
43
+ "This action deletes the files that get created in your repo as a result of running the _gym_ and _sigh_ commands. It doesn't delete the `fastlane/report.xml` though, this is probably more suited for the .gitignore.",
44
+ "",
45
+ "Useful if you quickly want to send out a test build by dropping down to the command line and typing something like `fastlane beta`, without leaving your repo in a messy state afterwards."
46
+ ].join("\n")
39
47
  end
40
48
 
41
49
  def self.author
@@ -45,6 +53,16 @@ module Fastlane
45
53
  def self.is_supported?(platform)
46
54
  [:ios, :mac].include? platform
47
55
  end
56
+
57
+ def self.example_code
58
+ [
59
+ 'clean_build_artifacts'
60
+ ]
61
+ end
62
+
63
+ def self.category
64
+ :misc
65
+ end
48
66
  end
49
67
  end
50
68
  end
@@ -36,6 +36,17 @@ module Fastlane
36
36
  def self.is_supported?(platform)
37
37
  [:ios, :mac].include? platform
38
38
  end
39
+
40
+ def self.example_code
41
+ [
42
+ 'clean_cocoapods_cache',
43
+ 'clean_cocoapods_cache(name: "CACHED_POD")'
44
+ ]
45
+ end
46
+
47
+ def self.category
48
+ :building
49
+ end
39
50
  end
40
51
  end
41
52
  end
@@ -39,6 +39,17 @@ module Fastlane
39
39
  def self.is_supported?(platform)
40
40
  [:ios, :mac].include?(platform)
41
41
  end
42
+
43
+ def self.example_code
44
+ [
45
+ 'clear_derived_data',
46
+ 'clear_derived_data(derived_data_path: "/custom/")'
47
+ ]
48
+ end
49
+
50
+ def self.category
51
+ :building
52
+ end
42
53
  end
43
54
  end
44
55
  end
@@ -30,6 +30,17 @@ module Fastlane
30
30
  def self.is_supported?(platform)
31
31
  true
32
32
  end
33
+
34
+ def self.example_code
35
+ [
36
+ 'clipboard(value: "https://github.com/fastlane/fastlane/tree/master/fastlane")',
37
+ 'clipboard(value: lane_context[SharedValues::HOCKEY_DOWNLOAD_LINK] || "")'
38
+ ]
39
+ end
40
+
41
+ def self.category
42
+ :misc
43
+ end
33
44
  end
34
45
  end
35
46
  end
@@ -26,7 +26,10 @@ module Fastlane
26
26
  end
27
27
 
28
28
  def self.details
29
- "This action will run cloc to generate a SLOC report that the Jenkins SLOCCount plugin can read. See https://wiki.jenkins-ci.org/display/JENKINS/SLOCCount+Plugin for more information."
29
+ [
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."
32
+ ].join("\n")
30
33
  end
31
34
 
32
35
  def self.available_options
@@ -67,6 +70,20 @@ module Fastlane
67
70
  def self.is_supported?(platform)
68
71
  [:ios, :mac].include?(platform)
69
72
  end
73
+
74
+ def self.example_code
75
+ [
76
+ 'cloc(
77
+ exclude_dir: "ThirdParty,Resources",
78
+ output_directory: "reports",
79
+ source_directory: "MyCoolApp"
80
+ )'
81
+ ]
82
+ end
83
+
84
+ def self.category
85
+ :misc
86
+ end
70
87
  end
71
88
  end
72
89
  end
@@ -86,6 +86,24 @@ module Fastlane
86
86
  def self.authors
87
87
  ["KrauseFx", "tadpol", "birmacher", "Liquidsoul"]
88
88
  end
89
+
90
+ def self.details
91
+ "If you use [CocoaPods](http://cocoapods.org) you can use the `cocoapods` integration to run `pod install` before building your app."
92
+ end
93
+
94
+ def self.example_code
95
+ [
96
+ 'cocoapods',
97
+ 'cocoapods(
98
+ clean: true,
99
+ podfile: "./CustomPodfile"
100
+ )'
101
+ ]
102
+ end
103
+
104
+ def self.category
105
+ :building
106
+ end
89
107
  end
90
108
  end
91
109
  end
@@ -155,6 +155,22 @@ module Fastlane
155
155
  ]
156
156
  end
157
157
 
158
+ def self.details
159
+ [
160
+ "This action will create a 'Version Bump' commit in your repo. Useful in conjunction with `increment_build_number`.",
161
+ "",
162
+ "It checks the repo to make sure that only the relevant files have changed, these are the files that `increment_build_number` (`agvtool`) touches:",
163
+ "- All .plist files",
164
+ "- The `.xcodeproj/project.pbxproj` file",
165
+ "",
166
+ "Then commits those files to the repo.",
167
+ "",
168
+ "Customise the message with the `:message` option, defaults to 'Version Bump'",
169
+ "",
170
+ "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."
171
+ ].join("\n")
172
+ end
173
+
158
174
  def self.author
159
175
  "lmirosevic"
160
176
  end
@@ -162,6 +178,20 @@ module Fastlane
162
178
  def self.is_supported?(platform)
163
179
  [:ios, :mac].include? platform
164
180
  end
181
+
182
+ def self.example_code
183
+ [
184
+ 'commit_version_bump',
185
+ 'commit_version_bump(
186
+ message: "Version Bump", # create a commit with a custom message
187
+ xcodeproj: "./path/to/MyProject.xcodeproj", # optional, if you have multiple Xcode project files, you must specify your main project here
188
+ )'
189
+ ]
190
+ end
191
+
192
+ def self.category
193
+ :source_control
194
+ end
165
195
  end
166
196
  end
167
197
  end