Skip to content

Commit

Permalink
Note need to publish with nightly cargo (#506)
Browse files Browse the repository at this point in the history
Until github.com/rust-lang/cargo/pull/7333 makes it into stable rust,
we'll be forced to publish using nightly, due to our unpublished dev
dependency on `test-utilities`.
  • Loading branch information
casey authored Nov 1, 2019
1 parent f3b8030 commit 8e084a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ pretty_assertions = "0.6"

# Until github.com/rust-lang/cargo/pull/7333 makes it into stable,
# this version-less dev-dependency will interfere with publishing
# to crates.io.
# to crates.io. In the meantime, we can publish with nighlty cargo.
[dev-dependencies.test-utilities]
path = "test-utilities"
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ publish-check: lint clippy test
git checkout Cargo.lock

publish: publish-check
cargo publish
cargo +nightly publish
git tag -a {{version}} -m 'Release {{version}}'
git push github {{version}}

Expand Down

0 comments on commit 8e084a7

Please sign in to comment.