private static function validateReleaseFormatForHyphen($name)
    {
        if (!stristr($name, '-')) {
            throw new \Exception('Release must include a hyphen');
        }

        if (strpos($name, '-') === 0) {
            throw new \Exception('Hyphen cannot be first character');
        }

        if (strpos($name, '-') === (strlen($name) - 1)) {
            throw new \Exception('Hyphen cannot be last character');
        }
    }