Skip to content

Commit

Permalink
Merge pull request #9234 from chreekat/b/better-curl-error
Browse files Browse the repository at this point in the history
gitlab-ci/brew.sh/curl: fail with more noise
  • Loading branch information
mergify[bot] authored Sep 7, 2023
2 parents 24f336d + 8468521 commit 28e1c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab/brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ brew_dir="${CI_PROJECT_DIR}/.brew"

if [ ! -e "${brew_dir}" ]; then
mkdir -p "${brew_dir}"
curl -L "https://github.com/Homebrew/brew/archive/refs/tags/${BREW_VERSION}.tar.gz" | tar xz --strip 1 -C "${brew_dir}"
curl --fail-with-body -L "https://github.com/Homebrew/brew/archive/refs/tags/${BREW_VERSION}.tar.gz" | tar xz --strip 1 -C "${brew_dir}"
fi

export PATH="${brew_dir}/bin:${brew_dir}/sbin:$PATH"
Expand Down

0 comments on commit 28e1c65

Please sign in to comment.