# 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)
lane :dev do
app_url = "https://www.pgyer.com/8b3D0JH0"
updateLog = "1. <font color=DeepPink>优化bug</font>"
sh("echo 'updateLog: \n#{updateLog}'")
updateText = " # iOS测试环境 \n #{updateLog} "
gym(
clean: true,
silent: true,
#project: "danceRN.xcodeproj",
export_method: 'ad-hoc',
output_directory: './fastlane/build',
output_name:"danceRN.ipa",
scheme: 'danceRN',
configuration: 'Dev',
include_symbols:true,
export_xcargs: "-allowProvisioningUpdates",
)
pgyer(
api_key: "d16d96f2c4dfbe99a76058d7afc64905",
)
end
lane :release do
app_url = "https://www.pgyer.com/8b3D0JH0"
updateLog = "1. <font color=DeepPink>优化bug</font>"
sh("echo 'updateLog: \n#{updateLog}'")
updateText = " # iOS线上环境 \n #{updateLog} "
gym(
clean: true,
silent: true,
#project: "danceRN.xcodeproj",
export_method: 'ad-hoc',
output_directory: './fastlane/build',
output_name:"danceRN.ipa",
#scheme: 'Customer',
configuration: 'Release',
include_symbols:true,
export_xcargs: "-allowProvisioningUpdates",
)
pgyer(
api_key: "d16d96f2c4dfbe99a76058d7afc64905",
)
end
网友评论