pub fn validate_release(release: &str) -> Result<(), InvalidRelease>
Given a string checks if the release is generally valid.