Enhanced the release scripts to be able to handle a branch release.