Skip to content

Commit 895eec6

Browse files
committed
docs(release): correct RELEASING.md guard to cargo package (matches workflow)
The prose said the fail-fast guard runs `cargo publish -p harmont-cli --dry-run`, but release.yml uses `cargo package --workspace`. The latter is correct: it resolves sibling path deps locally, so it catches the publish=false / unpublished-dep regression class without the deps being on the index yet (which --dry-run requires). Align the doc with the implementation.
1 parent ae1b13f commit 895eec6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

RELEASING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ Versioning is **driven by git tags on the public mirror**. The release
3838
workflow in `.github/workflows/release.yml` triggers on any tag matching
3939
`v*`, seds the version from the tag into every publishable crate's
4040
`Cargo.toml` plus the `workspace.dependencies` pins, runs
41-
`cargo publish -p harmont-cli --dry-run` as a fail-fast guard, then
42-
publishes the crates to crates.io in dependency (topological) order:
41+
`cargo package --workspace` as a fail-fast guard (it resolves sibling
42+
path deps locally, so it catches the `publish = false` /
43+
unpublished-dep class of regression without needing the deps on the
44+
index yet — which `cargo publish --dry-run` would), then publishes the
45+
crates to crates.io in dependency (topological) order:
4346

4447
```
4548
hm-util → hm-pipeline-ir → hm-config → hm-plugin-protocol → hm-render

0 commit comments

Comments
 (0)