code: def create_release_hook(name, source_path):
      
      from rez.plugin_managers import plugin_manager
      return plugin_manager.create_instance('release_hook',
                                            name,
                                            source_path=source_path)
docs: Return a new release hook of the given type.