Skip to content
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

Pin version of mdBook #193

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

Pin version of mdBook #193

azerupi opened this issue Jun 28, 2017 · 1 comment

Comments

@azerupi
Copy link

azerupi commented Jun 28, 2017

Hi!

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.

@Luthaf
Copy link
Member

Luthaf commented Jun 28, 2017

Thank you very much for taking the time to open this issue, we'll do this change soon.

Luthaf pushed a commit that referenced this issue Sep 12, 2017
Luthaf pushed a commit that referenced this issue Sep 12, 2017
@Luthaf Luthaf closed this as completed in f7d0e9e Sep 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants