view fastlane/Fastfile @ 125:bee9102c2e9c

Update fastlane config
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Sun, 15 Aug 2021 12:26:31 +0100
parents 5c7b675ede8f
children 407611b9df91
line wrap: on
line source

# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do

  desc "Push a new beta build to TestFlight"
  lane :beta do
    increment_build_number(xcodeproj: "Simoleon.xcodeproj")
    build_app(scheme: "Simoleon")
    upload_to_testflight(
      beta_app_review_info: {
        contact_email: "dmartin@dennistech.io",
        contact_first_name: "Dennis",
        contact_last_name: "Concepcion Martin",
        contact_phone: "+34 639 465 931",
        notes: "Go and crash it. Thank you for reviewing <3"
      }
    )
  end

  desc "Release new version to App Store"
  lane :release do
    capture_screenshots
    build_app(scheme: "Simoleon")
    upload_to_app_store
  end
  
end