Skip to content

Commit 5c1c48e

Browse files
committed
Install mdbook from source
Works around a numbering bug! Closes rustwasm/book#158
1 parent 04f1292 commit 5c1c48e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Diff for: azure-pipelines.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ trigger:
44
jobs:
55
- job: publish
66
steps:
7-
- script: |
8-
set -e
9-
curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v0.2.1/mdbook-v0.2.1-x86_64-unknown-linux-musl.tar.gz | tar xzf -
10-
echo "##vso[task.prependpath]$PWD"
11-
displayName: Install mdbook
127
- task: UseRubyVersion@0
138
inputs:
149
versionSpec: '>= 2.4'
@@ -21,6 +16,14 @@ jobs:
2116
curl https://sh.rustup.rs -sSf | sh -s -- -y
2217
echo "##vso[task.prependpath]$HOME/.cargo/bin"
2318
displayName: Install rust
19+
# Temporarily disable using pre-built binaries until
20+
# https://github.com/rust-lang-nursery/mdBook/issues/820 is fixed.
21+
# - script: |
22+
# set -e
23+
# curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v0.2.1/mdbook-v0.2.1-x86_64-unknown-linux-musl.tar.gz | tar xzf -
24+
# echo "##vso[task.prependpath]$PWD"
25+
- script: cargo install mdbook --version 0.2.3
26+
displayName: Install mdbook
2427
- script: ./ci/build.sh
2528
displayName: Build site
2629
- script: |

0 commit comments

Comments
 (0)