原来 master 与 develop 共用一条 release 轨,版本号和构建号绑在一起。 现改为每个上架分支各有一条轨道(轨道名即分支名),自测分支仍共用 feature 轨。 - 轨道记录新增 kind(release/feature),branch_track 存轨道名 - 旧的共用 release 轨及更早的单轨结构,加载时自动按上架分支拆开, 已用构建号原样复制,拆分后各分支从原来的号继续递增 - 构建号递增时跨上架轨取同一 App_Ver 的最大值 +1:App Store 的构建号 唯一性按 MARKETING_VERSION 全局判定,避免两分支同版本号时重号被拒 - 分支管理页轨道选择改为「上架(本分支独立版本号)/ 自测(共用)」, 打包设置页按上架分支分块填写版本号 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BJaZ913U5GVdTkYHiRpvDU
84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"apps": {
|
|
"1": {
|
|
"name": "示例应用",
|
|
"server": "测试环境",
|
|
"API": "https://api3-dev.example.com",
|
|
"AppGuid": "00000000-0000-0000-0000-000000000000",
|
|
"AssDom": "applinks:dev-data1.example.com",
|
|
"UniversalLink": "https://dev-data1.example.com",
|
|
"upload_key": "example_app",
|
|
"tencent": "",
|
|
"weixinlogin": "",
|
|
"weixinpay": "",
|
|
"wxworkSchema": "",
|
|
"skins": ["default.zip"],
|
|
"certificates": {
|
|
"Ad_Hoc": {
|
|
"name": "com.example.app",
|
|
"cer": "证书名称或标识",
|
|
"pro": "描述文件名称",
|
|
"theme": "default"
|
|
},
|
|
"App_Store": {
|
|
"name": "com.example.app",
|
|
"cer": "证书名称或标识",
|
|
"pro": "描述文件名称",
|
|
"theme": "default"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"schemes": {
|
|
"1": { "name": "readoor31", "ossFloder": "readoor" }
|
|
},
|
|
"servers": {
|
|
"测试环境": {
|
|
"api": "https://api3-dev.example.com",
|
|
"assDom": "applinks:dev-data1.example.com",
|
|
"universalLink": "https://dev-data1.example.com",
|
|
"app_id_prefix": 1
|
|
},
|
|
"正式环境": {
|
|
"api": "https://api3.example.com",
|
|
"assDom": "applinks:data1.example.com",
|
|
"universalLink": "https://data1.example.com",
|
|
"app_id_prefix": 2
|
|
}
|
|
},
|
|
"next_app_id_prefix": 3,
|
|
"branches": ["master", "develop"],
|
|
"upload": {
|
|
"mode": "webdav",
|
|
"oss": {
|
|
"access_key_id": "",
|
|
"access_key_secret": "",
|
|
"endpoint": "",
|
|
"bucket_name": "",
|
|
"base_url": ""
|
|
},
|
|
"webdav": {
|
|
"server_url": "",
|
|
"username": "",
|
|
"password": "",
|
|
"base_path": "",
|
|
"public_url": ""
|
|
},
|
|
"dingtalk": {
|
|
"enabled": false,
|
|
"webhook_url": "",
|
|
"secret": "",
|
|
"at_mobiles": [],
|
|
"at_mobiles_app_store": []
|
|
}
|
|
},
|
|
"versions": {
|
|
"tracks": {
|
|
"master": { "kind": "release", "app_ver": "2.180.0", "build_map": {} },
|
|
"develop": { "kind": "release", "app_ver": "2.180.0", "build_map": {} },
|
|
"feature": { "kind": "feature", "app_ver": "2.180.0", "build_map": {} }
|
|
}
|
|
},
|
|
"branch_track": { "master": "master", "develop": "develop" }
|
|
}
|