SuperAPI AI 工具集

gplay-migrate-fastlane

部署与运维

查看项目

更新于 10-15 22:09

技能介绍

用途:把基于 Fastlane supply 的 Play Store 元数据工作流迁移到 gplay CLI。前置条件为已有 Fastlane 元数据目录结构,并已安装与认证 gplay CLI,且熟悉源目录布局。

主要能力:gplay migrate fastlane 将 Fastlane 目录结构转换为 gplay 基于文件的元数据格式,供 metadata pull / metadata push / metadata validate 使用。转换时 title.txt、short_description.txt、full_description.txt、video.txt 会合并为 listing.json;changelogs/ 与 images/ 原样复制。

使用方式:基本命令为 gplay migrate fastlane --source ./fastlane/metadata/android --output-dir ./metadata。可用 --dry-run 预览而不写文件,用 --locales en-US,es-ES,fr-FR 只迁移指定语言。--source 与 --output-dir 必填,--dry-run、--locales 可选。迁移后可执行 gplay sync import-listings --package com.example.app --dir ./metadata 导入 Play Store,或先 gplay sync diff-listings 核对。

适用场景:整体迁移、按语言增量迁移、CI/CD 中校验迁移输出、逐步替换 fastlane supply 命令。

限制:资料未提供 gplay CLI 的安装方式、认证方式、价格与平台支持信息;使用前需自行确认源目录布局,建议先 dry-run,保留 Fastlane 源目录直至验证完成。