Should probably consider the version number.

Pre-release version branch_name (e.g. x.y.z-master) is not a release.