Skip to content

Instantly share code, notes, and snippets.

@DaisukeNagata
Last active August 8, 2019 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaisukeNagata/d1089e412219c023e22686c97b5227fa to your computer and use it in GitHub Desktop.
Save DaisukeNagata/d1089e412219c023e22686c97b5227fa to your computer and use it in GitHub Desktop.
# 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
# (1) Betaレーン 
desc "Submit App to Fabric Beta"
lane :beta do
# (2) アプリをビルドし、ipaファイルを作成する
gym(
configuration: "Release",
scheme: "SampleFastLane",
export_method: "ad-hoc",
output_directory: "./build/ipa/" + Time.new.strftime("%Y/%m/%d/%H%M"),
output_name: "SampleFastLane.ipa",
include_bitcode: false,
export_options: {
compileBitcode: false,
uploadBitcode: false,
provisioningProfiles: {
"com-dbank-com.SampleFastLane" => "SampleFastLaneProvisioning"
}
},
xcargs: "PROVISIONING_PROFILE_SPECIFIER='SampleFastLaneProvisioning'"
   )
slack(
channel: "#general",
message: "Betaにデプロイしました。",
slack_url: "https://hooks.slack.com/URL"
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment