diff --git a/ci/install.sh b/ci/install.sh index 3745af0..c21aba2 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -3,11 +3,10 @@ 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 '^v0.2.[0-9]+$' \ + | grep -E '^v0\.[0-9]+\.[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 | \ sh -s -- --git rust-lang-nursery/mdbook --tag $tag