summaryrefslogtreecommitdiffstats
path: root/third_party/rust/prio/documentation/releases.md
blob: db0b4c246f70182343abbf0a2e4136ba6079358c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Releases

We use a GitHub Action to publish a crate named `prio` to [crates.io](https://crates.io). To cut a
release and publish:

- Bump the version number in `Cargo.toml` to e.g. `1.2.3` and merge that change to `main`
- Tag that commit on main as `v1.2.3`, either in `git` or in [GitHub's releases UI][releases].
- Publish a release in [GitHub's releases UI][releases].

Publishing the release will automatically publish the updated [`prio` crate][crate].

[releases]: https://github.com/divviup/libprio-rs/releases/new
[crate]: https://crates.io/crates/prio