Skip to content

Commit

Permalink
fix publish task
Browse files Browse the repository at this point in the history
  • Loading branch information
bluejekyll committed Dec 22, 2019
1 parent 3cd2625 commit 414c8bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Expand Up @@ -8,6 +8,6 @@ members = ["crates/proto",
"crates/client",
"crates/server",
"bin",
"util",
"tests/compatibility-tests",
"tests/integration-tests",
"util"]
"tests/integration-tests"]
10 changes: 8 additions & 2 deletions Makefile.toml
Expand Up @@ -446,9 +446,15 @@ description = "package artifacts for each crate"
command = "cargo"
args = ["package", "--locked"]

[tasks.publish]
[tasks.inner_publish]
description = "publish next release"
dependencies = ["await-update", "update", "check", "package"]
env = { CARGO_MAKE_WORKSPACE_SKIP_MEMBERS = "test/*"}
private = true
command = "cargo"
args = ["publish", "--verbose", "--locked"]

[tasks.publish]
description = "publish next release"
workspace = false
env = { CARGO_MAKE_WORKSPACE_SKIP_MEMBERS = "tests/*"}
run_task = { name = "inner_publish", fork = true }

0 comments on commit 414c8bf

Please sign in to comment.