File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ lane :uikit_testflight_build do |options|
163
163
end
164
164
165
165
private_lane :upload_beta do |options |
166
+ is_manual_upload = is_localhost || options [ :configuration ] . to_s . empty?
166
167
configuration = options [ :configuration ] . to_s . empty? ? 'Release' : options [ :configuration ]
167
168
168
169
match_me
@@ -178,12 +179,22 @@ private_lane :upload_beta do |options|
178
179
end
179
180
end
180
181
182
+ sdk_version = get_sdk_version_from_environment
183
+ app_version =
184
+ if is_manual_upload
185
+ major , minor , _patch = sdk_version . split ( '.' ) . map ( &:to_i )
186
+ minor += 1
187
+ "#{ major } .#{ minor } .0"
188
+ else
189
+ sdk_version
190
+ end
191
+
181
192
testflight_build (
182
193
api_key : appstore_api_key ,
183
194
xcode_project : xcode_project ,
184
195
sdk_target : 'StreamVideo' ,
185
196
app_target : options [ :app_target ] ,
186
- app_version : get_sdk_version_from_environment ,
197
+ app_version : app_version ,
187
198
app_identifier : options [ :app_identifier ] ,
188
199
configuration : configuration ,
189
200
extensions : [ 'CallIntent' , 'ScreenSharing' ]
You can’t perform that action at this time.
0 commit comments