Updated release script to handle custom "Release" values.