The following lines need to be changed to compensate.
line 5831 and 5833 and be archiveName="obs-studio-[0-9.]-macOS-Apple.dmg" and archiveName="obs-studio-[0-9.]-macOS-Intel.dmg"
tested in our environment and its working now with this change.
thanks adamcodega for the fix.