Skip to content

Commit c6cba56

Browse files
authored
Merge pull request #21 from austinglaser/14-back-out-hardcoded-mdbook-version
Use latest mdbook version in CI
2 parents f3bb03b + ba0f310 commit c6cba56

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ci/install.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ set -euxo pipefail
33
main() {
44
local tag=$(git ls-remote --tags --refs --exit-code https://github.com/rust-lang-nursery/mdbook \
55
| cut -d/ -f3 \
6-
| grep -E '^v0.2.[0-9]+$' \
6+
| grep -E '^v0\.[0-9]+\.[0-9]+$' \
77
| sort --version-sort \
88
| tail -n1)
9-
# Temporarily use older version until packages are available for 0.2.2 (or newer)
10-
local tag="v0.2.1"
9+
1110
curl -LSfs https://japaric.github.io/trust/install.sh | \
1211
sh -s -- --git rust-lang-nursery/mdbook --tag $tag
1312

0 commit comments

Comments
 (0)