<commit_before>class GitlabRunner < Formula
  desc "Official GitLab CI runner"
  homepage "https://gitlab.com/gitlab-org/gitlab-runner"
  url "https://gitlab.com/gitlab-org/gitlab-runner.git",
      tag:      "v13.7.0",
      revision: "943fc2521df7d18aacd73ab211c35546ace47c27"
  license "MIT"
  head "https://gitlab.com/gitlab-org/gitlab-runner.git"

  livecheck do
    url :head
    regex(/^v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    cellar :any_skip_relocation
    rebuild 1
    sha256 "14511a5ca78458f448eb4caf25c84611640a3e8d850ecf351d83708875eb6281" => :big_sur
    sha256 "0ee9eb9724c18d072dbbc75f018bb13aea312dca300894cf365df358e9453d1b" => :arm64_big_sur
    sha256 "abb3276176d5a1a06a79fb0400f513e5d077bd1798aa798cf265064efe097405" => :catalina
    sha256 "f231e664c00ee68e74c35135fac65077b1b139cb423ed5e06d966ef7f7f48542" => :mojave
  end

  depends_on "go" => :build

  def install
    dir = buildpath/"src/gitlab.com/gitlab-org/gitlab-runner"
    dir.install buildpath.children

    cd dir do
      proj = "gitlab.com/gitlab-org/gitlab-runner"
      system "go", "build", "-ldflags", <<~EOS
        -X #{proj}/common.NAME=gitlab-runner
        -X #{proj}/common.VERSION=#{version}
        -X #{proj}/common.REVISION=#{Utils.git_short_head(length: 8)}
        -X #{proj}/common.BRANCH=#{version.major}-#{version.minor}-stable<commit_msg>gitlab-runner 13.8.0<commit_after>class GitlabRunner < Formula
  desc "Official GitLab CI runner"
  homepage "https://gitlab.com/gitlab-org/gitlab-runner"
  url "https://gitlab.com/gitlab-org/gitlab-runner.git",
      tag:      "v13.8.0",
      revision: "775dd39d7476642c4dbc3655b375acf93a3556bb"
  license "MIT"
  head "https://gitlab.com/gitlab-org/gitlab-runner.git"

  livecheck do
    url :head
    regex(/^v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    cellar :any_skip_relocation
    rebuild 1
    sha256 "14511a5ca78458f448eb4caf25c84611640a3e8d850ecf351d83708875eb6281" => :big_sur
    sha256 "0ee9eb9724c18d072dbbc75f018bb13aea312dca300894cf365df358e9453d1b" => :arm64_big_sur
    sha256 "abb3276176d5a1a06a79fb0400f513e5d077bd1798aa798cf265064efe097405" => :catalina
    sha256 "f231e664c00ee68e74c35135fac65077b1b139cb423ed5e06d966ef7f7f48542" => :mojave
  end

  depends_on "go" => :build

  def install
    dir = buildpath/"src/gitlab.com/gitlab-org/gitlab-runner"
    dir.install buildpath.children

    cd dir do
      proj = "gitlab.com/gitlab-org/gitlab-runner"
      system "go", "build", "-ldflags", <<~EOS
        -X #{proj}/common.NAME=gitlab-runner
        -X #{proj}/common.VERSION=#{version}
        -X #{proj}/common.REVISION=#{Utils.git_short_head(length: 8)}
        -X #{proj}/common.BRANCH=#{version.major}-#{version.minor}-stable
{'fraction_non_alphanumeric': 0.13316119513094798, 'fraction_numerical': 0.1586130579122095, 'mean_word_length': 3.8689407540394973, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4788844', 'n_tokens_mistral': 1368, 'n_tokens_neox': 1115, 'n_words': 146}