def METHOD_NAME(self):
    """Processes a github release.
    The release might be first validated, in terms of sender, and then published.
    :raises ex: any exception generated by the records service when creating a draft or publishing the release record.
    """
    try:
        record = self.publish()
        return record
    except Exception as ex:
        current_app.logger.exception(
            f"Error while processing GitHub release {self.release_object.id}: {str(ex)}"
        )
        raise ex