Skip to content

Commit

Permalink
Remove version from path dev-dependencies to make it easier to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 1, 2020
1 parent 3a618ef commit 8525d86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ members = [
pin-project-internal = { version = "=1.0.2", path = "pin-project-internal", default-features = false }

[dev-dependencies]
pin-project-auxiliary-macro = { version = "0", path = "tests/auxiliary/macro" }
pin-project-auxiliary-macro = { path = "tests/auxiliary/macro" }
rustversion = "1"
static_assertions = "1"
tempfile = "3"
Expand Down
2 changes: 1 addition & 1 deletion pin-project-internal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ quote = "1"
syn = { version = "1.0.44", features = ["full", "visit-mut"] }

[dev-dependencies]
pin-project = { version = "1.0.2", path = ".." }
pin-project = { path = ".." }
rustversion = "1"
6 changes: 1 addition & 5 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ for member in "${MEMBERS[@]}"; do
cd "${member}"
pwd
echo "info: running 'cargo publish ${dryrun:-}'"
if [[ "${member}" == "pin-project-internal" ]]; then
retry 2 "cargo hack publish --no-dev-deps --allow-dirty ${dryrun:-}" "unable to publish ${member}"
else
retry 2 "cargo publish ${dryrun:-}" "unable to publish ${member}"
fi
retry 2 "cargo publish ${dryrun:-}" "unable to publish ${member}"
)
done

0 comments on commit 8525d86

Please sign in to comment.