# Ruma xtasks

This crate is a helper bin for repetitive tasks during Ruma development, based on [cargo xtask][xtask].

To use it, run `cargo xtask [command]` anywhere in the workspace.

Some commands need configuration variables. Copy `config.toml.sample` to `config.toml` and fill
the appropriate fields.

## Commands

- `release [crate] [version]`: Publish `crate` at given `version`, if applicable[^1], create a
  signed tag based on its name and version and create a release on GitHub.
  **Requires all `github` fields in `config.toml`.**

[^1]: If `crate` is a user-facing crate and `version` is not a pre-release.

[xtask]: https://github.com/matklad/cargo-xtask
