fastlane: https://docs.fastlane.tools/
蒲公英:https://www.pgyer.com/doc/view/fastlane
flutter : https://flutter.dev/docs/deployment/cd
注意:安装蒲公英插件是在android或者iOS目录下执行fastlane add_plugin pgyer
的
eg.
lane :forPgyer do
gradle(
task: 'assemble',
build_type: 'Release',
)
pgyer(api_key: "4198f2fxxxxxxcbc5c", user_key: "8e5911e4xxxxxxxxxxxxx438c", apk:"../build/app/outputs/flutter-apk/app-release.apk")
end
lane :forPgyer do
build_app(export_method: "ad-hoc")
pgyer(api_key: "4198f2fxxxxxxcbc5c", user_key: "8e5911e4xxxxxxxxxxxxx438c",ipa:"../ios/Runner.ipa")
end
查看可用参数可以用下面命令:
fastlane action Gradle
fastlane action gradle
网友评论