fastlane

作者: liboxiang | 来源:发表于2020-10-16 11:16 被阅读0次

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

相关文章

网友评论

      本文标题:fastlane

      本文链接:https://www.haomeiwen.com/subject/fykzpktx.html