Skip to content

Commit

Permalink
Check minimal version compatibility before publishing (#487)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
casey authored Oct 9, 2019
1 parent bd75c5f commit 5da0079
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5da0079

Please sign in to comment.