summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-07-05 11:25:54 -0700
committerGitHub <noreply@github.com>2017-07-05 11:25:54 -0700
commit607b5bd5cd0aac4bf2f7ba1d87875c8e9dd71a20 (patch)
tree147aa8b33e4ce9cc406cc1cde5b8c9057a2dc792
parent8f756be1ac0feb5338ebeedb987f48de02e6a1ff (diff)
parent9b4bd6bff754e6b654f85fc676288ff660dbc6b3 (diff)
Auto merge of #786 - emilio:mdbook-ci, r=fitzgen
Pin the mdbook version for CI. Fixes #779.
-rwxr-xr-xci/deploy-book.sh2
-rwxr-xr-xci/test-book.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/ci/deploy-book.sh b/ci/deploy-book.sh
index 0c2a2b5f..ba38697e 100755
--- a/ci/deploy-book.sh
+++ b/ci/deploy-book.sh
@@ -4,7 +4,7 @@ set -xeu
cd "$(dirname "$0")/../book"
# Ensure mdbook is installed.
-cargo install mdbook || true
+cargo install mdbook --vers "^0.0.22" || true
export PATH="$PATH:~/.cargo/bin"
# Get the git revision we are on.
diff --git a/ci/test-book.sh b/ci/test-book.sh
index 30b23318..b2007e7c 100755
--- a/ci/test-book.sh
+++ b/ci/test-book.sh
@@ -3,7 +3,7 @@
set -xeu
cd "$(dirname "$0")/../book"
-cargo install mdbook || true
+cargo install mdbook --vers "^0.0.22" || true
export PATH="$PATH:~/.cargo/bin"
mdbook build