diff --git a/ci/install.sh b/ci/install.sh index ee102554..1b928d69 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -1,11 +1,12 @@ set -euxo pipefail main() { - local tag=$(git ls-remote --tags --refs --exit-code https://github.com/rust-lang-nursery/mdbook \ - | cut -d/ -f3 \ - | grep -E '^v[0.1.0-9.]+$' \ - | sort --version-sort \ - | tail -n1) + local tag=$(git ls-remote --tags --refs --exit-code \ + https://github.com/rust-lang-nursery/mdbook \ + | cut -d/ -f3 \ + | grep -E '^v[0.1.0-9.]+$' \ + | sort --version-sort \ + | tail -n1) # Temporarily use older version until packages are available for 0.2.2 (or newer) local tag="v0.2.1" curl -LSfs https://japaric.github.io/trust/install.sh | \