class Releaser

def _detect_gh_release(gh_client, tag_name, draft)

def _detect_gh_release(gh_client, tag_name, draft)
  gh_releases = gh_client.releases(@github_repo)
  gh_releases.detect { |r| r.tag_name == tag_name && r.draft == draft }
end