如何使用 fastlane deliver 提交 "Beta App Description" 到 iTunes Connect

How to submit "Beta App Description" to iTunes Connect with fastlane deliver

我使用 fastlane deliver 将我的 iOS 应用程序和大部分应用程序元数据上传到 iTunes Connect。大多数数据和屏幕截图都可以放入我存储在 git 中的文件中。

这包括例如存储在文件中的评论笔记

fastlane/metadata/review_information/notes.txt

在 iTunes Connect 中,"Test Information" 下的 TestFlight 部分有一些信息,称为 "Beta App Description"。我也想使用 fastlane 上传此文本。

在 fastlane deliver 文档中,我找到了名为 "beta_app_description" 的参数,据我所知,就是这个参数。这是一个命令参数,因此必须直接在 Fastfile 或 Deliverfile 中指定。

我想让 fastlane 从文件中加载它,就像所有其他元数据一样。

这可能吗?如何实现?

除了deliver(或upload_ios_app)在fastlane中还有一个testflight(或upload_to_testflightpilot)动作:

https://docs.fastlane.tools/actions/testflight/

顾名思义,它用于 Testflight 的所有内容,其中包括 beta 说明:

beta_app_description | Provide the beta app description when uploading a new build

https://docs.fastlane.tools/actions/testflight/#parameters

pilot 也是一个连接的命令行工具的名称,它有额外的选项: https://docs.fastlane.tools/actions/pilot/

不幸的是,从文件中获取这些数据不属于任何一个。