Open gnzlbg opened 6 years ago
You can do that. mdbook binary releases are build using trust and it offers a handy install script: https://github.com/japaric/trust/#use-the-binary-releases-on-travis-ci
Add this to your CI config:
curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git rust-lang-nursery/mdBook
When using
mdBook
in CI it would be very useful to be easily able to programmatically obtain the latest binary for a given target, so that one can just do:without having to hard-code a version number anywhere. Since I'd like to be notified if a new version breaks things, I currently have to use
cargo install mdbook
for this, which takes a lot of CI time.