anchor.diff:            bool autoUpdateHostedVersions: false}) =>
         projectCommandWithDependencies('check release versions',
             (Project project, Iterable<Project> dependencies) async {
  -        final ProjectVersions versions = await getCurrentProjectVersion(
  +        final ProjectVersions versions = await getCurrentProjectVersions(
               project, dependencies, type, autoUpdateHostedVersions);
           if (versions.newReleaseVersion is Some) {
             _log.info(
  
positive.code:     });
    }
  
    Future<ProjectVersions> getCurrentProjectVersion(
        Project project,
        Iterable<Project> dependencies,
        ReleaseType type,
  
negative.code:       bool autoUpdateHostedVersions: false}) {
      return projectCommandWithDependencies('Release version: type $type',
          (Project project, Iterable<Project> dependencies) async {
        final ProjectVersions projectVersions = await getCurrentProjectVersions(
            project, dependencies, type, autoUpdateHostedVersions);
  
        if (!projectVersions.newReleaseRequired) {
  