我正在尝试使用Fastlane的supply
(upload_to_play_store
)(https://docs.fastlane.tools/actions/supply/)操作来提高现有Google Play商店发行的分阶段推出百分比。
但是,执行fastlane supply --track rollout --rollout 0.50
不会将推出百分比提高到50%,而是即使fastlane显示成功消息,也不会改变Google Play开发者控制台中的任何内容。
Fastlane的输出:
+-------------------------+-------------------------------+
| Summary for supply 2.122.0 |
+-------------------------+-------------------------------+
| track | production |
| rollout | 0.5 |
| package_name | com.mydomain.myapp |
| metadata_path | ./fastlane/metadata/android |
| json_key_data | ******** |
| skip_upload_apk | false |
| skip_upload_aab | false |
| skip_upload_metadata | false |
| skip_upload_images | false |
| skip_upload_screenshots | false |
| validate_only | false |
| check_superseded_tracks | false |
| timeout | 300 |
| deactivate_on_promote | true |
+-------------------------+-------------------------------+
[14:09:27]: Preparing to upload for language 'en-US'...
[14:09:31]: Uploading all changes to Google Play...
[14:09:34]: Successfully finished the upload to Google Play
如何使用Fastlane的supply
操作来增加“生产”轨道中当前版本的推出百分比?
更新: 找不到使用Fastlane解决问题的实际方法,因此我们通过Triple-T切换到gradle-play-publisher plugin,可以完成我们想做的事情。
答案 0 :(得分:0)
您必须设置以下轨道:铺开轨道track_promote_to:淘汰和铺开:0.5
答案 1 :(得分:0)
这是我更新生产轨道上的推广百分比的通道:
desc "Update production rollout - Usage: fastlane rollout_prod rollout:0.25"
lane :rollout_prod do |options|
supply(
track: 'production',
rollout: options[:rollout], # 0.25
skip_upload_apk: true,
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_screenshots: true,
skip_upload_changelogs: true,
)
end
答案 2 :(得分:0)
我针对此问题进行了解决。我的工作流程是
desc "Promote beta to production"
lane :init_rollout_prod do
supply(
track: 'beta',
track_promote_to: 'production',
rollout: '0.25',
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_screenshots: true,
skip_upload_changelogs: true,
skip_upload_apk: true,
skip_upload_aab: true
)
end
desc "update rollout prod"
lane :update_rollout_prod do
supply(
track: 'beta',
track_promote_to: 'production',
rollout: '0.50',
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_screenshots: true,
skip_upload_changelogs: true,
skip_upload_apk: true,
skip_upload_aab: true
)
end