Check minimal version compatibility before publishing (#487)

Checks that we build and pass tests with the minimal dependency versions
declared declared in Cargo.toml, as part of the `publish-check` recipe
run before publishing a new version of Just.
This commit is contained in:
Casey Rodarmor 2019-10-08 22:17:22 -07:00 committed by GitHub
parent bd75c5f51d
commit 5da0079ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,9 @@ publish-check: lint clippy test
git branch | grep '* master'
git diff --no-ext-diff --quiet --exit-code
grep {{version}} CHANGELOG.md
cargo +nightly generate-lockfile -Z minimal-versions
cargo test
git checkout
publish: publish-check
cargo publish