Skip to content

Commit dcc3d87

Browse files
[CI] Update TestFlight manual upload detection (#890)
1 parent b4536d8 commit dcc3d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ end
220220

221221
desc 'Builds the latest version of Demo app and uploads it to TestFlight'
222222
lane :swiftui_testflight_build do |options|
223-
is_manual_upload = is_localhost || !options[:configuration].to_s.empty?
223+
is_manual_upload = is_localhost || ENV['GITHUB_EVENT_NAME'] == 'workflow_dispatch'
224224
configuration = options[:configuration].to_s.empty? ? 'Release' : options[:configuration]
225225

226226
match_me

0 commit comments

Comments
 (0)