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|
163163end
164164
165165private_lane :upload_beta do |options |
166+ is_manual_upload = is_localhost || options [ :configuration ] . to_s . empty?
166167 configuration = options [ :configuration ] . to_s . empty? ? 'Release' : options [ :configuration ]
167168
168169 match_me
@@ -178,12 +179,22 @@ private_lane :upload_beta do |options|
178179 end
179180 end
180181
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+
181192 testflight_build (
182193 api_key : appstore_api_key ,
183194 xcode_project : xcode_project ,
184195 sdk_target : 'StreamVideo' ,
185196 app_target : options [ :app_target ] ,
186- app_version : get_sdk_version_from_environment ,
197+ app_version : app_version ,
187198 app_identifier : options [ :app_identifier ] ,
188199 configuration : configuration ,
189200 extensions : [ 'CallIntent' , 'ScreenSharing' ]
You can’t perform that action at this time.
0 commit comments