Update release to use RELEASE_BASE (defined by USE_TESTING) and only include DEVELOP_BRANCH if USE_TESTING is set