update script to adapt to different OTP artifact names

we are now producing artifacts with version suffixes