Loading templates/gitlab-ci-semrel.yml +6 −6 Original line number Diff line number Diff line Loading @@ -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 } Loading Loading @@ -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 Loading Loading
templates/gitlab-ci-semrel.yml +6 −6 Original line number Diff line number Diff line Loading @@ -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 } Loading Loading @@ -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 Loading