sccache/docs/Releasing.md

1.1 KiB

Sccache Release Process

Most of the sccache release process is automated. The github workflow contains builds for all supported platforms, as well as a release job that is triggered by pushing a new tag to the repository. That job will upload the resulting binary packages to the GitHub releases page on the repository.

Producing a release

We use cargo-release to produce releases, since it encapsulates the steps of bumping the version number, creating and pushing a new tag, and releasing to crates.io. You can install it with cargo install cargo-release, then simply run cargo release in an sccache checkout to do the work. Note that it supports a --dry-run option you can use to preview what it will run.

Things to be aware of

  1. You must have authenticated to crates.io using cargo login to publish the sccache create there.
  2. cargo will not allow publishing a create if there are crates in the [patch] section in Cargo.toml.