Skip to content

Commit 66eb9da

Browse files
committed
fix publish task
1 parent 3cd2625 commit 66eb9da

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ members = ["crates/proto",
88
"crates/client",
99
"crates/server",
1010
"bin",
11+
"util",
1112
"tests/compatibility-tests",
12-
"tests/integration-tests",
13-
"util"]
13+
"tests/integration-tests"]

Makefile.toml

+8-2
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,15 @@ description = "package artifacts for each crate"
446446
command = "cargo"
447447
args = ["package", "--locked"]
448448

449-
[tasks.publish]
449+
[tasks.inner_publish]
450450
description = "publish next release"
451451
dependencies = ["await-update", "update", "check", "package"]
452-
env = { CARGO_MAKE_WORKSPACE_SKIP_MEMBERS = "test/*"}
452+
private = true
453453
command = "cargo"
454454
args = ["publish", "--verbose", "--locked"]
455+
456+
[tasks.publish]
457+
description = "publish next release"
458+
workspace = false
459+
env = { CARGO_MAKE_WORKSPACE_SKIP_MEMBERS = "tests/*"}
460+
run_task = { name = "inner_publish", fork = true }

0 commit comments

Comments
 (0)