Skip to content

Commit 739580a

Browse files
[CI] Get rid of a workaround on testflight manual upload (#849)
1 parent 656b027 commit 739580a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

fastlane/Fastfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -182,22 +182,14 @@ private_lane :upload_beta do |options|
182182
end
183183

184184
sdk_version = get_sdk_version_from_environment
185-
app_version =
186-
if is_manual_upload
187-
major, minor, _patch = sdk_version.split('.').map(&:to_i)
188-
minor += 1
189-
"#{major}.#{minor}.0"
190-
else
191-
sdk_version
192-
end
193-
UI.important("[TestFlight] Uploading DemoApp version: #{app_version}")
185+
UI.important("[TestFlight] Uploading DemoApp version: #{sdk_version}")
194186

195187
testflight_build(
196188
api_key: appstore_api_key,
197189
xcode_project: xcode_project,
198190
sdk_target: 'StreamVideo',
199191
app_target: options[:app_target],
200-
app_version: app_version,
192+
app_version: sdk_version,
201193
app_identifier: options[:app_identifier],
202194
configuration: configuration,
203195
extensions: ['CallIntent', 'ScreenSharing'],

0 commit comments

Comments
 (0)