Skip to content

Commit e2cc800

Browse files
authored
Ignore errors in the testflight upload process
TestFlight sometimes doesn't like our nightly changelogs. However, the builds still get uploaded and processed, so we'll just ignore errors raised within TestFlight. Here's an example travis build that failed to upload to TestFlight: https://travis-ci.org/StoDevX/AAO-React-Native/jobs/269066805#L3603
1 parent b24b221 commit e2cc800

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

fastlane/platforms/ios.rb

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,14 @@
2929
desc 'Submit a new nightly Beta Build to Testflight'
3030
lane :nightly do
3131
build
32-
# TestFliht is returning 500 errors when we upload changelogs again.
33-
testflight(#changelog: make_changelog,
34-
distribute_external: false)
32+
# TestFlight is returning 500 errors when we upload changelogs again.
33+
begin
34+
testflight(changelog: make_changelog,
35+
distribute_external: false)
36+
rescue => error
37+
puts "Changelog failed to upload:"
38+
puts error
39+
end
3540
end
3641

3742
desc 'Upload dYSM symbols to Bugsnag from Apple'

0 commit comments

Comments
 (0)