File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11set -euxo pipefail
22
33main () {
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 \
56 | cut -d/ -f3 \
6- | grep -E ' ^v0.2. [0-9]+$' \
7+ | grep -E ' ^v [0-9\. ]+$' \
78 | sort --version-sort \
89 | tail -n1)
9- # Temporarily use older version until packages are available for 0.2.2 (or newer)
10- local tag=" v0.2.1"
10+
1111 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
1316
1417 pip install linkchecker --user
1518}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ main() {
5050
5151 # check links
5252 # 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
5454}
5555
5656main
You can’t perform that action at this time.
0 commit comments