Advertisement
Guest User

Untitled

a guest
Mar 13th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.36 KB | None | 0 0
  1. <details><summary>✅ fastlane environment ✅</summary>
  2.  
  3. ### Stack
  4.  
  5. | Key | Value |
  6. | --------------------------- | ------------------------------------------- |
  7. | OS | 10.12.3 |
  8. | Ruby | 2.2.4 |
  9. | Bundler? | false |
  10. | Git | git version 2.10.1 (Apple Git-78) |
  11. | Installation Source | ~/.fastlane/bin/bundle/bin/fastlane |
  12. | Host | Mac OS X 10.12.3 (16D32) |
  13. | Ruby Lib Dir | ~/.fastlane/bin/bundle/lib |
  14. | OpenSSL Version | OpenSSL 1.0.2g 1 Mar 2016 |
  15. | Is contained | false |
  16. | Is homebrew | true |
  17. | Is installed via Fabric.app | false |
  18. | Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
  19. | Xcode Version | 8.2.1 |
  20.  
  21.  
  22. ### System Locale
  23.  
  24. | Variable | Value | |
  25. | -------- | ----------- | - |
  26. | LANG | en_US.UTF-8 | ✅ |
  27. | LC_ALL | en_US.UTF-8 | ✅ |
  28. | LANGUAGE | en_US.UTF-8 | ✅ |
  29.  
  30.  
  31. ### fastlane files:
  32.  
  33. <details><summary>`./fastlane/Fastfile`</summary>
  34.  
  35. ```ruby
  36. # Customise this file, documentation can be found here:
  37. # https://github.com/fastlane/fastlane/tree/master/fastlane/docs
  38. # All available actions: https://docs.fastlane.tools/actions
  39. # can also be listed using the `fastlane actions` command
  40.  
  41. # Change the syntax highlighting to Ruby
  42. # All lines starting with a # are ignored when running `fastlane`
  43.  
  44. # If you want to automatically update fastlane if a new version is available:
  45. # update_fastlane
  46.  
  47. # This is the minimum version number required.
  48. # Update this, if you use features of a newer version
  49. fastlane_version "2.19.1"
  50.  
  51. default_platform :ios
  52.  
  53. platform :ios do
  54. before_all do
  55. # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
  56. cocoapods
  57.  
  58. end
  59.  
  60. desc "Runs all the tests"
  61. lane :test do
  62. scan
  63. end
  64.  
  65. desc "Submit a new Beta Build to Apple TestFlight"
  66. desc "This will also make sure the profile is up to date"
  67. lane :dev do
  68. # match(type: "appstore") # more information: https://codesigning.guide
  69. # Build your app - more options available
  70. increment_build_number
  71. version = "#{get_version_number}.#{get_build_number}"
  72. badge(shield: "Version-#{version}-blue")
  73. cert
  74. sigh(force: false)
  75. #match(type: "development")
  76. gym(scheme: "Vappy", clean: true)
  77. rocket_chat(
  78. message: "Build success",
  79. #channel: "#vappy-kontrolle", # Optional, by default will post to the default channel configured for the POST URL.
  80. payload: { # Optional, lets you specify any number of your own Rocket.Chat attachments.
  81. 'Build Date' => Time.new.to_s,
  82. 'Built by' => 'macOS',
  83. },
  84. default_payloads: [:git_branch, :git_author], # Optional, lets you specify a whitelist of default payloads to include. Pass an empty array to suppress all the default payloads. Don't add this key, or pass nil, if you want all the default payloads. The available default payloads are: `lane`, `test_result`, `git_branch`, `git_author`, `last_git_commit_message`.
  85. )
  86. #pilot
  87.  
  88. # sh "your_script.sh"
  89. # You can also use other beta testing services here (run `fastlane actions`)
  90. end
  91.  
  92. desc "Submit a new Beta Build to Apple TestFlight"
  93. desc "This will also make sure the profile is up to date"
  94. lane :build do
  95. # match(type: "appstore") # more information: https://codesigning.guide
  96. # Build your app - more options available
  97. version = "#{get_version_number}.#{get_build_number}"
  98. badge(shield: "Version-#{version}-blue")
  99. cert
  100. sigh(force: false)
  101. #match(type: "development")
  102. gym(scheme: "Vappy", clean: true)
  103. rocket_chat(
  104. message: "Build success",
  105. #channel: "#vappy-kontrolle", # Optional, by default will post to the default channel configured for the POST URL.
  106. payload: { # Optional, lets you specify any number of your own Rocket.Chat attachments.
  107. 'Build Date' => Time.new.to_s,
  108. 'Built by' => 'macOS',
  109. },
  110. default_payloads: [:git_branch, :git_author], # Optional, lets you specify a whitelist of default payloads to include. Pass an empty array to suppress all the default payloads. Don't add this key, or pass nil, if you want all the default payloads. The available default payloads are: `lane`, `test_result`, `git_branch`, `git_author`, `last_git_commit_message`.
  111. )
  112. #pilot
  113.  
  114. # sh "your_script.sh"
  115. # You can also use other beta testing services here (run `fastlane actions`)
  116. end
  117.  
  118. desc "Deploy a new version to the App Store"
  119. lane :release do
  120. # match(type: "appstore")
  121. # snapshot
  122. gym # Build your app - more options available
  123. deliver(force: true)
  124. # frameit
  125. end
  126.  
  127. #
  128. # Learn more here: https://github.com/fastlane/setups/blob/master/samples-ios/distribute-beta-build.md 🚀
  129. #
  130. lane :beta do |values|
  131. # Fabric generated this lane for deployment to Crashlytics Beta
  132. # set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
  133. increment_build_number
  134. cert(username: 'apple@vappy.de', team_id: "YNP2FVSDXB")
  135. sigh(force: false)
  136. #gym(scheme: "Vappy", clean: true)
  137. gym(scheme: 'Vappy', export_method: 'development')
  138.  
  139. emails = values[:test_email] ? values[:test_email] : ['janalindner@aol.com', 'inesinleipzig@gmx.de', 'malves.info@gmail.com', 'Noelle.juenger@nexgo.de', 'friedrich11@gmx.de', 'artes313@gmx.de', 'gabrielmorais@gmail.com', 'leonardo.j.marques@gmail.com'] # You can list more emails here
  140. groups = values[:test_email] ? nil : nil # You can define groups on the web and reference them here
  141.  
  142. crashlytics(api_token: '6ad88acaf39680407bb3349cc4333e7d2f098d5c',
  143. build_secret: '40a74f02119a4e5af8602e04b2c0542faf7e3e65716589ffaabd8d5866f84daf',
  144. emails: emails,
  145. groups: groups,
  146. notes: 'Distributed with fastlane', # Check out the changelog_from_git_commits action
  147. notifications: true) # Should this distribution notify your testers via email?
  148.  
  149. # for all available options run `fastlane action crashlytics`
  150.  
  151. # You can notify your team in chat that a beta build has been uploaded
  152. # slack(
  153. # slack_url: "https://hooks.slack.com/services/YOUR/TEAM/INFO"
  154. # channel: "beta-releases",
  155. # message: "Successfully uploaded a beta release - see it at https://fabric.io/_/beta"
  156. # )
  157. end
  158.  
  159. # You can define as many lanes as you want
  160.  
  161. after_all do |lane|
  162. # This block is called, only if the executed lane was successful
  163.  
  164. # slack(
  165. # message: "Successfully deployed new App Update."
  166. # )
  167. end
  168.  
  169. error do |lane, exception|
  170. # slack(
  171. # message: exception.message,
  172. # success: false
  173. # )
  174. end
  175. end
  176.  
  177.  
  178. # More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
  179. # All available actions: https://docs.fastlane.tools/actions
  180.  
  181. # fastlane reports which actions are used
  182. # No personal data is recorded. Learn more at https://github.com/fastlane/enhancer
  183. ```
  184. </details>
  185.  
  186. <details><summary>`./fastlane/Appfile`</summary>
  187.  
  188. ```ruby
  189. app_identifier "de.vappy.app" # The bundle identifier of your app
  190. apple_id "apple@vappy.de" # Your Apple email address
  191.  
  192. team_id "YNP2FVSDXB" # Developer Portal Team ID
  193.  
  194. # you can even provide different app identifiers, Apple IDs and team names per lane:
  195. # More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md
  196. ```
  197. </details>
  198.  
  199. ### fastlane gems
  200.  
  201. | Gem | Version | Update-Status |
  202. | -------- | ------- | ------------- |
  203. | fastlane | 2.19.3 | ✅ Up-To-Date |
  204.  
  205.  
  206. ### Loaded fastlane plugins:
  207.  
  208. | Plugin | Version | Update-Status |
  209. | --------------------------- | ------- | ------------- |
  210. | fastlane-plugin-rocket_chat | 0.1.1 | ✅ Up-To-Date |
  211.  
  212.  
  213. <details><summary><b>Loaded gems</b></summary>
  214.  
  215. | Gem | Version |
  216. | --------------------------- | ------------ |
  217. | slack-notifier | 1.5.1 |
  218. | i18n | 0.7.0 |
  219. | json | 1.8.1 |
  220. | thread_safe | 0.3.5 |
  221. | tzinfo | 1.2.2 |
  222. | minitest | 5.4.3 |
  223. | activesupport | 4.2.7.1 |
  224. | CFPropertyList | 2.3.5 |
  225. | claide | 1.0.1 |
  226. | colored | 1.2 |
  227. | nanaimo | 0.2.3 |
  228. | xcodeproj | 1.4.2 |
  229. | rouge | 1.11.1 |
  230. | xcpretty | 0.2.4 |
  231. | terminal-notifier | 1.7.1 |
  232. | unicode-display_width | 1.1.3 |
  233. | terminal-table | 1.7.3 |
  234. | plist | 3.2.0 |
  235. | public_suffix | 2.0.5 |
  236. | addressable | 2.5.0 |
  237. | multipart-post | 2.0.0 |
  238. | word_wrap | 1.0.0 |
  239. | tty-screen | 0.5.0 |
  240. | babosa | 1.0.2 |
  241. | highline | 1.7.8 |
  242. | commander | 4.4.3 |
  243. | excon | 0.54.0 |
  244. | faraday | 0.11.0 |
  245. | unf_ext | 0.0.7.2 |
  246. | unf | 0.1.4 |
  247. | domain_name | 0.5.20161129 |
  248. | http-cookie | 1.0.3 |
  249. | faraday-cookie_jar | 0.0.6 |
  250. | fastimage | 2.0.1 |
  251. | gh_inspector | 1.0.3 |
  252. | uber | 0.0.15 |
  253. | representable | 2.3.0 |
  254. | retriable | 2.1.0 |
  255. | mime-types-data | 3.2016.0521 |
  256. | mime-types | 3.1 |
  257. | hurley | 0.2 |
  258. | little-plugger | 1.1.4 |
  259. | multi_json | 1.12.1 |
  260. | logging | 2.1.0 |
  261. | jwt | 1.5.6 |
  262. | memoist | 0.15.0 |
  263. | os | 0.9.6 |
  264. | signet | 0.7.3 |
  265. | googleauth | 0.5.1 |
  266. | httpclient | 2.8.3 |
  267. | google-api-client | 0.9.26 |
  268. | mini_magick | 4.5.1 |
  269. | multi_xml | 0.6.0 |
  270. | rubyzip | 1.2.0 |
  271. | security | 0.1.3 |
  272. | xcpretty-travis-formatter | 0.0.4 |
  273. | dotenv | 2.2.0 |
  274. | bundler | 1.14.3 |
  275. | faraday_middleware | 0.11.0.1 |
  276. | rocket-chat-notifier | 0.1.0 |
  277. | fastlane-plugin-rocket_chat | 0.1.1 |
  278. </details>
  279.  
  280.  
  281. *generated on:* **2017-03-13**
  282. </details>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement