Skip to content

Commit 5a35ae7

Browse files
cwclaude
andcommitted
feat: 完善 App Store 自动化配置
新增功能: - 应用分类自动配置(开发者工具/生产力) - 审核信息自动填充(联系方式、说明) - 支持自动提交审核(可选参数) - 完善元数据上传逻辑 配置内容: - Primary Category: Developer Tools - Secondary Category: Productivity - 审核联系信息和说明 - 出口合规性信息 现在可以: 1. 自动上传所有元数据到 App Store Connect 2. 可选择是否自动提交审核 3. 所有信息通过 Fastlane 管理,无需手动填写 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent bec1e01 commit 5a35ae7

File tree

11 files changed

+50
-7
lines changed

11 files changed

+50
-7
lines changed

.github/workflows/ios-app-store.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,13 @@ jobs:
252252
253253
echo "✅ IPA uploaded successfully to App Store Connect!"
254254
255-
- name: Upload App Store Metadata
255+
- name: Upload App Store Metadata and Submit for Review
256256
working-directory: opencli_mobile
257257
env:
258258
APP_STORE_CONNECT_API_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
259259
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
260260
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}
261+
SUBMIT_FOR_REVIEW: ${{ github.event.inputs.submit_for_review || 'false' }}
261262
run: |
262263
echo "📝 Uploading App Store metadata..."
263264
@@ -266,11 +267,24 @@ jobs:
266267
gem install fastlane
267268
fi
268269
270+
# Determine if we should submit for review
271+
if [ "$SUBMIT_FOR_REVIEW" = "true" ]; then
272+
echo "🚀 Will submit for App Store review after upload"
273+
SUBMIT_ARG="submit_for_review:true"
274+
else
275+
echo "ℹ️ Will NOT submit for review (manual submission required)"
276+
SUBMIT_ARG="submit_for_review:false"
277+
fi
278+
269279
# Upload metadata using Fastlane
270280
cd fastlane
271-
fastlane upload_metadata || echo "⚠️ Metadata upload completed with warnings (this is normal for first-time setup)"
281+
fastlane upload_metadata $SUBMIT_ARG || echo "⚠️ Metadata upload completed with warnings (this is normal for first-time setup)"
272282
273-
echo "✅ App Store metadata upload completed!"
283+
if [ "$SUBMIT_FOR_REVIEW" = "true" ]; then
284+
echo "✅ App Store metadata uploaded and submitted for review!"
285+
else
286+
echo "✅ App Store metadata uploaded! You can manually submit for review in App Store Connect."
287+
fi
274288
275289
- name: Cleanup Keychain
276290
if: always()

opencli_mobile/fastlane/Fastfile

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,23 @@ default_platform(:ios)
44

55
platform :ios do
66
desc "Upload metadata and screenshots to App Store Connect"
7-
lane :upload_metadata do
7+
lane :upload_metadata do |options|
8+
submit = options[:submit_for_review] == "true" || options[:submit_for_review] == true
9+
810
deliver(
911
app_identifier: "com.opencli.opencliMobile",
1012
skip_binary_upload: true,
11-
skip_screenshots: false,
13+
skip_screenshots: true, # Will add screenshots later
1214
skip_metadata: false,
1315
force: true,
14-
submit_for_review: false,
16+
submit_for_review: submit,
1517
automatic_release: false,
16-
precheck_include_in_app_purchases: false
18+
precheck_include_in_app_purchases: false,
19+
submission_information: submit ? {
20+
add_id_info_uses_idfa: false,
21+
export_compliance_uses_encryption: false,
22+
export_compliance_is_exempt: true
23+
} : nil
1724
)
1825
end
1926

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DEVELOPER_TOOLS
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DEVELOPER_TOOLS
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UTILITIES
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PRODUCTIVITY
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
support@opencli.ai
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
OpenCLI
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Team
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Thank you for reviewing OpenCLI!
2+
3+
This is a developer tool and AI automation platform designed for iOS.
4+
5+
Test Account (if needed):
6+
- No account required for basic functionality
7+
- The app can be tested without any login
8+
9+
Key features to test:
10+
1. AI-powered task automation
11+
2. Command-line interface on mobile
12+
3. Workflow orchestration
13+
14+
If you have any questions during review, please contact us at support@opencli.ai.

0 commit comments

Comments
 (0)