Commit f8c7949c authored by Guilhem Bonnefille's avatar Guilhem Bonnefille
Browse files

Merge branch 'fix-typo' into 'master'

chore(qa): fix typo

See merge request to-be-continuous/semantic-release!39
parents fc6179b7 42e37ba4
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -456,13 +456,13 @@ stages:
    fi
  }

  function install_yd() {
  function install_yq() {
    if ! command -v yq > /dev/null
    then
      yd_binary=$1
      yd_version=$2
      yd_url="https://github.com/mikefarah/yq/releases/download/${yd_version}/${yd_binary}.tar.gz"
      wget "${yd_url}" -O - | tar xz && mv "${yd_binary}" /usr/bin/yq
      yq_binary=$1
      yq_version=$2
      yq_url="https://github.com/mikefarah/yq/releases/download/${yq_version}/${yq_binary}.tar.gz"
      wget "${yq_url}" -O - | tar xz && mv "${yq_binary}" /usr/bin/yq
    fi
  }

@@ -583,7 +583,7 @@ stages:
    - *semrel-scripts
    - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
    - cd "${SEMREL_CONFIG_DIR}"
    - install_yd "yq_linux_amd64" "v4.21.1"
    - install_yq "yq_linux_amd64" "v4.21.1"
    - prepare_semantic_release
  cache:
    # cache shall be per branch per template