"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7693/ios/fastlane/Fastfile" (8 Dec 2023, 3234 Bytes) of package /linux/misc/jitsi-meet-7693.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ENV["FASTLANE_SKIP_UPDATE_CHECK"] = "1"
    2 opt_out_usage
    3 
    4 default_platform(:ios)
    5 
    6 platform :ios do
    7   desc "Push a new beta build to TestFlight"
    8   lane :deploy do
    9     # Make sure we are on a clean tree
   10     ensure_git_status_clean
   11 
   12     # Connect to Apple Store Connect
   13     app_store_connect_api_key(
   14       key_id: ENV["ASC_KEY_ID"],
   15       issuer_id: ENV["ASC_ISSUER_ID"],
   16       key_content: ENV["ASC_KEY_CONTENT"],
   17       duration: 1200,
   18       in_house: false
   19     )
   20 
   21     # Set the app identifier
   22     update_app_identifier(
   23       xcodeproj: "app/app.xcodeproj",
   24       plist_path: "src/Info.plist",
   25       app_identifier: "com.atlassian.JitsiMeet.ios"
   26     )
   27 
   28     # Set the broadcast extension identifier
   29     update_app_identifier(
   30       xcodeproj: "app/app.xcodeproj",
   31       plist_path: "broadcast-extension/Info.plist",
   32       app_identifier: "com.atlassian.JitsiMeet.ios.broadcast"
   33     )
   34     update_info_plist(
   35       xcodeproj: "app/app.xcodeproj",
   36       plist_path: "src/Info.plist",
   37       block: proc do |plist|
   38         plist["RTCScreenSharingExtension"] = "com.atlassian.JitsiMeet.ios.broadcast"
   39       end
   40     )
   41 
   42     # Set the (watch) app identifier
   43     update_app_identifier(
   44       xcodeproj: "app/app.xcodeproj",
   45       plist_path: "watchos/app/Info.plist",
   46       app_identifier: "com.atlassian.JitsiMeet.ios.watchkit"
   47     )
   48 
   49     # Set the (watch) extension identifier
   50     update_app_identifier(
   51       xcodeproj: "app/app.xcodeproj",
   52       plist_path: "watchos/extension/Info.plist",
   53       app_identifier: "com.atlassian.JitsiMeet.ios.watchkit.extension"
   54     )
   55 
   56     update_info_plist(
   57       xcodeproj: "app/app.xcodeproj",
   58       plist_path: "watchos/app/Info.plist",
   59       block: proc do |plist|
   60         plist["WKCompanionAppBundleIdentifier"] = "com.atlassian.JitsiMeet.ios"
   61       end
   62     )
   63 
   64     update_info_plist(
   65       xcodeproj: "app/app.xcodeproj",
   66       plist_path: "watchos/extension/Info.plist",
   67       block: proc do |plist|
   68         plist["NSExtension"]["NSExtensionAttributes"]["WKAppBundleIdentifier"] = "com.atlassian.JitsiMeet.ios.watchkit"
   69       end
   70     )
   71 
   72     # Inrement the build number by 1
   73     increment_build_number(
   74       build_number: Time.now.to_i,
   75       xcodeproj: "app/app.xcodeproj"
   76     )
   77 
   78     # Actually build the app
   79     build_app(
   80         scheme: "JitsiMeet",
   81         include_symbols: true,
   82         export_xcargs: "-allowProvisioningUpdates"
   83     )
   84 
   85     # Upload the build to TestFlight
   86     upload_to_testflight(
   87       beta_app_description: ENV["JITSI_CHANGELOG"],
   88       beta_app_feedback_email: ENV["JITSI_REVIEW_EMAIL"],
   89       beta_app_review_info: {
   90         contact_email: ENV["JITSI_REVIEW_EMAIL"],
   91         contact_first_name: ENV["JITSI_REVIEW_NAME"],
   92         contact_last_name: ENV["JITSI_REVIEW_SURNAME"],
   93         contact_phone: ENV["JITSI_REVIEW_PHONE"],
   94         demo_account_name: ENV["JITSI_DEMO_ACCOUNT"],
   95         demo_account_password: ENV["JITSI_DEMO_PASSWORD"],
   96       },
   97       changelog: ENV["JITSI_CHANGELOG"],
   98       demo_account_required: false,
   99       distribute_external: true,
  100       groups: ENV["JITSI_BETA_TESTING_GROUPS"],
  101       uses_non_exempt_encryption: false
  102     )
  103 
  104     upload_symbols_to_crashlytics
  105 
  106     # Cleanup
  107     clean_build_artifacts
  108     reset_git_repo(skip_clean: true)
  109   end
  110 end