-
Notifications
You must be signed in to change notification settings - Fork 10
Use latest mdbook version in CI #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use latest mdbook version in CI #21
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ci/install.sh
Outdated
@@ -3,11 +3,10 @@ set -euxo pipefail | |||
main() { | |||
local tag=$(git ls-remote --tags --refs --exit-code https://github.com/rust-lang-nursery/mdbook \ | |||
| cut -d/ -f3 \ | |||
| grep -E '^v0.2.[0-9]+$' \ | |||
| grep -E '^v[0-9]+$' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| grep -E '^v[0-9]+$' \ | |
| grep -E '^v0.[0-9]+.[0-9]+$' \ |
Should probably something like this instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to.
I was modeling this of the way the same script works in the embedonomicon book - should I change it there too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it would be better to pin it to the 0.3 series, so breaking changes have to be explicitly opted in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I updated to your suggestion. I still think it's worth debating:
- Being more specific -- pinning to 0.3.x instead of 0.x.y
- Doing this same pinning on other
rust-embedded
books
(initial comment was from wrong account; sorry)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the first version had a stupid mistake. Updated again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Originally it was free IIRC. We only pinned it to 0.2.1 due to a problem with later versions.
3017a81
to
2b8029f
Compare
This pins mdbook to the 0.x.y series for now.
2b8029f
to
ba0f310
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #14