summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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