File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
set -euxo pipefail
2
2
3
3
main () {
4
- local tag=$( git ls-remote --tags --refs --exit-code https://github.com/rust-lang-nursery/mdbook \
4
+ local tag=$( git ls-remote --tags --refs --exit-code \
5
+ https://github.com/rust-lang/mdbook \
5
6
| cut -d/ -f3 \
6
- | grep -E ' ^v0.2. [0-9]+$' \
7
+ | grep -E ' ^v [0-9\. ]+$' \
7
8
| sort --version-sort \
8
9
| tail -n1)
9
- # Temporarily use older version until packages are available for 0.2.2 (or newer)
10
- local tag=" v0.2.1"
10
+
11
11
curl -LSfs https://japaric.github.io/trust/install.sh | \
12
- sh -s -- --git rust-lang-nursery/mdbook --tag $tag
12
+ sh -s -- \
13
+ --force \
14
+ --git rust-lang/mdbook \
15
+ --tag $tag
13
16
14
17
pip install linkchecker --user
15
18
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ main() {
50
50
51
51
# check links
52
52
# FIXME(rust-lang-nursery/mdbook#789) remove `--ignore-url` when that bug is fixed
53
- # linkchecker --ignore-url "print.html" doc
53
+ linkchecker --ignore-url " print.html" doc
54
54
}
55
55
56
56
main
You can’t perform that action at this time.
0 commit comments