@@ -319,6 +319,7 @@ platform :ios do
319
319
set_info_plist_value ( path : "#{ Dir . pwd } /../#{ OUDS_PROJECT_NAME } /Info.plist" , key : "OUDSSDKVersion" , value : "#{ sdk_version } " )
320
320
rescue => error
321
321
puts "❌ Error: Not possible to get branch and revision or version and revision for OUDS iOS Swift Package in Package.resolved for beta build"
322
+ raise Exception . new "Undefined OUDS SDK package version"
322
323
end
323
324
324
325
# Beta app must point to OUDS iOS develop branch
@@ -327,6 +328,7 @@ platform :ios do
327
328
else
328
329
puts "❌ Error: The beta code base of the app does not point to an OUDS iOS Swfit Package develop branch"
329
330
publish_mattermost_notification ( "📦 🚨 @channel The beta code base of the app does not point to an OUDS iOS Swfit Package develop branch (:beta)" )
331
+ raise Exception . new "Not suitable OUDS SDK package version"
330
332
end
331
333
end
332
334
@@ -351,6 +353,7 @@ platform :ios do
351
353
set_info_plist_value ( path : "#{ Dir . pwd } /../#{ OUDS_PROJECT_NAME } /Info.plist" , key : "OUDSSDKVersion" , value : "#{ sdk_version } " )
352
354
rescue => error
353
355
puts "❌ Error: Not possible to get branch and revision or version and revision for OUDS iOS Swift Package in Package.resolved for stable build"
356
+ raise Exception . new "Undefined OUDS SDK package version"
354
357
end
355
358
356
359
# Stable app must point to OUDS iOS version
@@ -366,6 +369,7 @@ platform :ios do
366
369
else
367
370
puts "❌ Error: The stable code base of the app does not point to an OUDS iOS Swfit Package version tag"
368
371
publish_mattermost_notification ( "📦 🚨 @channel The stable code base of the app does not point to an OUDS iOS Swfit Package version tag (:stable)" )
372
+ raise Exception . new "Not suitable OUDS SDK package version"
369
373
end
370
374
end
371
375
0 commit comments