Skip to content

Commit 610c750

Browse files
committed
ci: restore automatic public beta distribution for releases
- Changed default release channel from 'internal' to 'public_beta' - Automatic releases (push to main) now distribute to public beta testers - Manual workflow dispatch can still select 'internal' if needed - Updated job name and notifications to reflect public beta as default
1 parent 24f5ab2 commit 610c750

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ on:
1616
release_channel:
1717
description: 'TestFlight release channel'
1818
required: false
19-
default: 'internal'
19+
default: 'public_beta'
2020
type: choice
2121
options:
22-
- internal
2322
- public_beta
23+
- internal
2424

2525
env:
2626
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
@@ -93,7 +93,7 @@ jobs:
9393
echo "✅ Successfully created tag: $TAG_NAME"
9494
9595
build-and-release:
96-
name: Build and Release to TestFlight (Internal Testing)
96+
name: Build and Release to TestFlight (Public Beta)
9797
needs: version-check
9898
if: needs.version-check.outputs.should_release == 'true'
9999
runs-on: macos-latest
@@ -291,7 +291,7 @@ jobs:
291291
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
292292
MATCH_GIT_URL: ${{ secrets.MATCH_GIT_URL }}
293293
TEAM_ID: ${{ secrets.TEAM_ID }}
294-
RELEASE_CHANNEL: ${{ github.event.inputs.release_channel || 'internal' }}
294+
RELEASE_CHANNEL: ${{ github.event.inputs.release_channel || 'public_beta' }}
295295
run: |
296296
# Enable verbose output for debugging
297297
export FASTLANE_VERBOSE=true
@@ -301,14 +301,14 @@ jobs:
301301
export LANG=en_US.UTF-8
302302
303303
# Run the beta lane with release channel parameter
304-
# Default to 'internal' for automatic releases (push to main)
305-
# Can be set to 'public_beta' for manual workflow_dispatch
304+
# Default to 'public_beta' for automatic releases (push to main)
305+
# Can be set to 'internal' for manual workflow_dispatch if needed
306306
fastlane beta channel:$RELEASE_CHANNEL
307307
308308
- name: Create GitHub Release
309309
uses: softprops/action-gh-release@v1
310310
env:
311-
RELEASE_CHANNEL: ${{ github.event.inputs.release_channel || 'internal' }}
311+
RELEASE_CHANNEL: ${{ github.event.inputs.release_channel || 'public_beta' }}
312312
with:
313313
tag_name: ${{ needs.version-check.outputs.new_tag }}
314314
name: Release ${{ needs.version-check.outputs.version }}
@@ -317,9 +317,9 @@ jobs:
317317
Build: ${{ needs.version-check.outputs.build }}
318318
319319
### TestFlight Distribution
320-
**Channel**: ${{ github.event.inputs.release_channel || 'internal' }}
320+
**Channel**: ${{ github.event.inputs.release_channel || 'public_beta' }}
321321
322-
${{ github.event.inputs.release_channel == 'public_beta' && '📧 **Public Beta**: This build has been submitted to TestFlight for public beta testing. External testers will receive email notifications when the build is available after beta review approval.' || '👥 **Internal Testing**: This build is available to internal testers immediately after processing. No beta review required.' }}
322+
${{ (github.event.inputs.release_channel || 'public_beta') == 'public_beta' && '📧 **Public Beta**: This build has been submitted to TestFlight for public beta testing. External testers will receive email notifications when the build is available after beta review approval.' || '👥 **Internal Testing**: This build is available to internal testers immediately after processing. No beta review required.' }}
323323
324324
### What's New
325325
- See [commit history](https://github.com/${{ github.repository }}/commits/${{ needs.version-check.outputs.new_tag }}) for changes
@@ -332,7 +332,7 @@ jobs:
332332
- name: Post release notification
333333
if: success()
334334
env:
335-
RELEASE_CHANNEL: ${{ github.event.inputs.release_channel || 'internal' }}
335+
RELEASE_CHANNEL: ${{ github.event.inputs.release_channel || 'public_beta' }}
336336
run: |
337337
CHANNEL_DISPLAY=$([ "$RELEASE_CHANNEL" = "public_beta" ] && echo "Public Beta" || echo "Internal Testing")
338338
echo "✅ Successfully released version ${{ needs.version-check.outputs.version }} to TestFlight $CHANNEL_DISPLAY!"

0 commit comments

Comments
 (0)