anchor.diff:      });
     }
   
  -  Future<ProjectVersions> getCurrentProjectVersion(
  +  Future<ProjectVersions> getCurrentProjectVersions(
         Project project,
         Iterable<Project> dependencies,
         ReleaseType type,
  
positive.code:           bool autoUpdateHostedVersions: false}) =>
        projectCommandWithDependencies('check release versions',
            (Project project, Iterable<Project> dependencies) async {
          final ProjectVersions versions = await getCurrentProjectVersion(
              project, dependencies, type, autoUpdateHostedVersions);
          if (versions.newReleaseVersion is Some) {
            _log.info(
  
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) {
  