private function determineUmbrellaLevel(array $release)
    {
        $levels = [];
        array_walk($release, function ($component) use (&$levels) {
            $levels[] = $component['level'];
        });

        $levels = array_unique($levels);
        rsort($levels);

        // Since we don't use major versions of the umbrella, major versions of
        // components only bump the umbrella by a minor increment.
        if ($levels[0] === self::LEVEL_MAJOR) {
            $levels[0] = self::LEVEL_MINOR;
        }

        $release[self::DEFAULT_COMPONENT] = [
            'level' => $levels[0]
        ];

        return $release;
    }