Skip to content

Commit 3d99236

Browse files
committed
add a lane to build and submit to testflight
1 parent 1ec3ff9 commit 3d99236

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

fastlane/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ Make a beta, but for the rogue devs
122122
fastlane ios beta
123123
```
124124
Submit a new Beta Build to HockeyApp
125+
### ios beta-testflight
126+
```
127+
fastlane ios beta-testflight
128+
```
129+
Submit a new Beta Build to HockeyApp
125130
### ios ci-run
126131
```
127132
fastlane ios ci-run

fastlane/platforms/ios.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,20 @@
5050
hockey(notes: release_notes)
5151
end
5252

53+
desc 'Submit a new Beta Build to HockeyApp'
54+
lane :'beta-testflight' do
55+
badge
56+
57+
match(type: 'appstore', readonly: true)
58+
increment_build_number(build_number: latest_testflight_build_number + 1,
59+
xcodeproj: ENV['GYM_PROJECT'])
60+
61+
gym(export_method: 'app-store')
62+
63+
testflight(changelog: changelog_from_git_commits,
64+
skip_submission: true)
65+
end
66+
5367
desc 'Run iOS builds or tests, as appropriate'
5468
lane :'ci-run' do
5569
# set up things so they can run

0 commit comments

Comments
 (0)