Further improve crate release docs

This commit is contained in:
Jonas Platte 2021-04-04 22:16:52 +02:00
parent fb3067489b
commit 3be1ac702c
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -33,10 +33,14 @@ Finally, commit these changes as `Release {crate} {version}`.
## Publishing to crates.io and creating a release tag ## 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, only publish them
for `ruma-identifiers-validation` or one of the macro crates.* 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} cargo xtask release {crate}