Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Pin version of mdBook #4

Closed
azerupi opened this issue Jun 28, 2017 · 1 comment
Closed

Pin version of mdBook #4

azerupi opened this issue Jun 28, 2017 · 1 comment

Comments

@azerupi
Copy link

azerupi commented Jun 28, 2017

Hi!

I'm not sure if this applies to this repo because I don't know if you deploy the book automatically?

We would like to issue a new release of mdBook containing some changes that could potentially break current books, the config file changed a bit for example. However we found out that a lot of projects automatically deploy using the latest available version and so any breaking update could result in books not being deployed anymore..

We would like to avoid that and recommend pinning the version of mdBook in your deployment script. Cargo supports semver ranges on cargo install (right now it issues a deprecation warning, but in the future this warning should go away thanks to rust-lang/cargo#4229)

You can thus simply change cargo install mdbook to

cargo install mdbook --vers "^0.0.22"

Next release will be 0.1.0 and we will try to adhere to semver as much as possible.

For more info, azerupi/mdBook#327 is the tracking issue on our repository.

@kbknapp
Copy link
Member

kbknapp commented Nov 6, 2017

Thanks or the heads up! I haven't worked on this in a few months, and it probably doesn't apply to this repo directly, but I really appreciate you reaching out! 👍

@kbknapp kbknapp closed this as completed Nov 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants