Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. ENV["FASTLANE_SKIP_UPDATE_CHECK"] = "1"
  2. opt_out_usage
  3. default_platform(:ios)
  4. platform :ios do
  5. desc "Push a new beta build to TestFlight"
  6. lane :deploy do
  7. # Make sure we are on a clean tree
  8. ensure_git_status_clean
  9. # Set the app identifier
  10. update_app_identifier(
  11. xcodeproj: "app/app.xcodeproj",
  12. plist_path: "src/Info.plist",
  13. app_identifier: "com.atlassian.JitsiMeet.ios"
  14. )
  15. # Set the (watch) app identifier
  16. update_app_identifier(
  17. xcodeproj: "app/app.xcodeproj",
  18. plist_path: "watchos/app/Info.plist",
  19. app_identifier: "com.atlassian.JitsiMeet.ios.watchkit"
  20. )
  21. # Set the (watch) extension identifier
  22. update_app_identifier(
  23. xcodeproj: "app/app.xcodeproj",
  24. plist_path: "watchos/extension/Info.plist",
  25. app_identifier: "com.atlassian.JitsiMeet.ios.watchkit.extension"
  26. )
  27. update_info_plist(
  28. xcodeproj: "app/app.xcodeproj",
  29. plist_path: "watchos/app/Info.plist",
  30. block: proc do |plist|
  31. plist["WKCompanionAppBundleIdentifier"] = "com.atlassian.JitsiMeet.ios"
  32. end
  33. )
  34. update_info_plist(
  35. xcodeproj: "app/app.xcodeproj",
  36. plist_path: "watchos/extension/Info.plist",
  37. block: proc do |plist|
  38. plist["NSExtension"]["NSExtensionAttributes"]["WKAppBundleIdentifier"] = "com.atlassian.JitsiMeet.ios.watchkit"
  39. end
  40. )
  41. # Inrement the build number by 1
  42. increment_build_number(
  43. build_number: latest_testflight_build_number + 1,
  44. xcodeproj: "app/app.xcodeproj"
  45. )
  46. # Actually build the app
  47. build_app(
  48. scheme: "JitsiMeet",
  49. include_bitcode: true,
  50. include_symbols: true,
  51. export_xcargs: "-allowProvisioningUpdates"
  52. )
  53. # Upload the build to TestFlight (but don't distribute it)
  54. upload_to_testflight(
  55. beta_app_description: ENV["JITSI_CHANGELOG"],
  56. beta_app_feedback_email: ENV["JITSI_REVIEW_EMAIL"],
  57. beta_app_review_info: {
  58. contact_email: ENV["JITSI_REVIEW_EMAIL"],
  59. contact_first_name: ENV["JITSI_REVIEW_NAME"],
  60. contact_last_name: ENV["JITSI_REVIEW_SURNAME"],
  61. contact_phone: ENV["JITSI_REVIEW_PHONE"],
  62. demo_account_name: ENV["JITSI_DEMO_ACCOUNT"],
  63. demo_account_password: ENV["JITSI_DEMO_PASSWORD"],
  64. },
  65. changelog: ENV["JITSI_CHANGELOG"],
  66. demo_account_required: false,
  67. distribute_external: true,
  68. groups: ENV["JITSI_BETA_TESTING_GROUPS"],
  69. reject_build_waiting_for_review: true,
  70. uses_non_exempt_encryption: false
  71. )
  72. # Upload dSYMs to Crashlytics
  73. download_dsyms
  74. upload_symbols_to_crashlytics
  75. # Cleanup
  76. clean_build_artifacts
  77. reset_git_repo(skip_clean: true)
  78. end
  79. end