Skip to content

Commit 969def6

Browse files
[CI] Get rid of a workaround on testflight manual upload (#3702)
1 parent 3e226ef commit 969def6

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
@@ -282,22 +282,14 @@ lane :uikit_testflight_build do |options|
282282
match_me
283283

284284
sdk_version = get_sdk_version_from_environment
285-
app_version =
286-
if is_manual_upload
287-
major, minor, _patch = sdk_version.split('.').map(&:to_i)
288-
minor += 1
289-
"#{major}.#{minor}.0"
290-
else
291-
sdk_version
292-
end
293-
UI.important("[TestFlight] Uploading DemoApp version: #{app_version}")
285+
UI.important("[TestFlight] Uploading DemoApp version: #{sdk_version}")
294286

295287
testflight_build(
296288
api_key: appstore_api_key,
297289
xcode_project: xcode_project,
298290
sdk_target: 'StreamChat',
299291
app_target: 'DemoApp',
300-
app_version: app_version,
292+
app_version: sdk_version,
301293
app_identifier: 'io.getstream.iOS.ChatDemoApp',
302294
configuration: configuration,
303295
extensions: ['DemoShare'],

0 commit comments

Comments
 (0)