Skip to content

Commit 85a753b

Browse files
graycreateclaude
andcommitted
feat: 将TestFlight发布渠道从内测更新为公测
- 更新 Fastfile 配置以支持公测 - 添加 "Public Beta" 测试组 - 增加更详细的 beta_app_review_info 配置 - 添加中文描述和说明 - 确保 distribute_external 设置为 true - 更新 GitHub Actions workflow 描述 - 明确标注为 Public Beta 发布 - 添加外部测试者邮件通知说明 - 配置改进 - 添加 beta_app_description - 添加 demo_account_required: false - 更新联系电话格式 现在版本发布将自动提交到 TestFlight 公测,外部测试者将收到邮件通知。 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4e1529e commit 85a753b

File tree

2 files changed

+33
-16
lines changed

2 files changed

+33
-16
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
echo "✅ Successfully created tag: $TAG_NAME"
8585
8686
build-and-release:
87-
name: Build and Release to TestFlight
87+
name: Build and Release to TestFlight (Public Beta)
8888
needs: version-check
8989
if: needs.version-check.outputs.should_release == 'true'
9090
runs-on: macos-latest
@@ -290,7 +290,7 @@ jobs:
290290
export LC_ALL=en_US.UTF-8
291291
export LANG=en_US.UTF-8
292292
293-
# Run the beta lane (includes waiting for processing and distribution)
293+
# Run the beta lane (includes waiting for processing and public beta distribution)
294294
fastlane beta
295295
296296
- name: Create GitHub Release
@@ -302,8 +302,9 @@ jobs:
302302
## 🚀 Version ${{ needs.version-check.outputs.version }}
303303
Build: ${{ needs.version-check.outputs.build }}
304304
305-
### TestFlight
306-
This version has been automatically submitted to TestFlight for beta testing.
305+
### TestFlight Public Beta
306+
This version has been automatically submitted to TestFlight for public beta testing.
307+
External testers will receive email notifications when the build is available.
307308
308309
### What's New
309310
- See [commit history](https://github.com/${{ github.repository }}/commits/${{ needs.version-check.outputs.new_tag }}) for changes
@@ -316,6 +317,7 @@ jobs:
316317
- name: Post release notification
317318
if: success()
318319
run: |
319-
echo "✅ Successfully released version ${{ needs.version-check.outputs.version }} to TestFlight!"
320+
echo "✅ Successfully released version ${{ needs.version-check.outputs.version }} to TestFlight Public Beta!"
320321
echo "🏷️ Tag: ${{ needs.version-check.outputs.new_tag }}"
321-
echo "🔢 Build: ${{ needs.version-check.outputs.build }}"
322+
echo "🔢 Build: ${{ needs.version-check.outputs.build }}"
323+
echo "📧 External testers will be notified via email"

fastlane/Fastfile

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,23 @@ platform :ios do
7878
api_key: api_key,
7979
app_identifier: "v2er.app",
8080
skip_submission: false,
81-
distribute_external: true,
82-
groups: ["External"], # Default external tester group
83-
notify_external_testers: true,
81+
distribute_external: true, # 发布到外部测试者(公测)
82+
groups: ["Public Beta", "External Testers", "Beta Testers"], # 公测群组
83+
notify_external_testers: true, # 发送邮件通知
8484
uses_non_exempt_encryption: false,
85-
submit_beta_review: true,
85+
submit_beta_review: true, # 自动提交Beta审核
8686
wait_for_uploaded_build: true,
87+
beta_app_description: "V2er 是一个优雅的 V2EX 第三方客户端",
88+
beta_app_feedback_email: "support@v2er.app",
89+
demo_account_required: false,
8790
beta_app_review_info: {
8891
contact_email: "support@v2er.app",
8992
contact_first_name: "V2er",
9093
contact_last_name: "Support",
91-
contact_phone: "+1234567890",
94+
contact_phone: "+86 1234567890",
9295
demo_account_name: "",
9396
demo_account_password: "",
94-
notes: "This is a V2EX forum client app. No special account needed for testing."
97+
notes: "这是一个 V2EX 论坛的第三方客户端应用,测试不需要特殊账号。"
9598
}
9699
)
97100

@@ -160,13 +163,25 @@ platform :ios do
160163
skip_waiting_for_build_processing: false, # Wait for processing before distribution
161164
wait_processing_interval: 30, # Check every 30 seconds
162165
wait_processing_timeout_duration: 900, # Wait up to 15 minutes for processing
163-
distribute_external: true, # Distribute to external testers
166+
distribute_external: true, # 发布到外部测试者(公测)
164167
distribute_only: false, # Upload and distribute in one action
165-
groups: ["External Testers", "Beta Testers"], # Try common group names
168+
groups: ["Public Beta", "External Testers", "Beta Testers"], # 公测群组
166169
changelog: "Bug fixes and improvements",
167-
notify_external_testers: true, # Send email notifications
170+
notify_external_testers: true, # 发送邮件通知给外部测试者
168171
uses_non_exempt_encryption: false, # Required for automatic distribution
169-
submit_beta_review: true # Automatically submit for beta review if needed
172+
submit_beta_review: true, # 自动提交Beta审核
173+
beta_app_description: "V2er 是一个优雅的 V2EX 第三方客户端",
174+
beta_app_feedback_email: "support@v2er.app",
175+
demo_account_required: false, # 不需要演示账号
176+
beta_app_review_info: {
177+
contact_email: "support@v2er.app",
178+
contact_first_name: "V2er",
179+
contact_last_name: "Support",
180+
contact_phone: "+86 1234567890",
181+
demo_account_name: "",
182+
demo_account_password: "",
183+
notes: "这是一个 V2EX 论坛的第三方客户端应用,测试不需要特殊账号。"
184+
}
170185
)
171186

172187
# Notify success

0 commit comments

Comments
 (0)