docs: def release(path, repository):
      """Create a new release upgrade recipe, for developers."""
      upgrader = InvenioUpgrader()
      logger = upgrader.get_logger()
  
      try:
          endpoints = upgrader.find_endpoints()
  
          if not endpoints:
              logger.error("No upgrades found.")
              click.Abort()
  
          depends_on = []
          for repo, upgrades in endpoints.items():
              depends_on.extend(upgrades)
  
          return recipe(path,
                        repository=repository,
                        depends_on=depends_on,
                        release=True,
                        output_path=output_path)
  
      except RuntimeError as e:
          for msg in e.args:
              logger.error(unicode(msg))
          raise