From 3be1ac702c1af909044b03aa7040f84e52ebffc3 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sun, 4 Apr 2021 22:16:52 +0200 Subject: [PATCH] Further improve crate release docs --- contrib/how_to_release.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/contrib/how_to_release.md b/contrib/how_to_release.md index 8b84be80..0fc9466d 100644 --- a/contrib/how_to_release.md +++ b/contrib/how_to_release.md @@ -33,10 +33,14 @@ Finally, commit these changes as `Release {crate} {version}`. ## Publishing to crates.io and creating a release tag -*Note: only do this for final release, i.e. not alpha or beta releases, and not -for `ruma-identifiers-validation` or one of the macro crates.* +For `ruma-identifiers-validation` or one of the macro crates, only publish them +to crates.io without creating a release tag: -All you have to do is run the corresponding `xtask` command: +``` +cargo publish +``` + +For all others, the corresponding `xtask` command does both: ``` cargo xtask release {crate}