Skip to content

Publishing

Mauro Lacy edited this page Jan 14, 2021 · 10 revisions
  1. Update Cargo.toml and CHANGELOG.md to the new version.
  2. Update lockfile: cargo check
  3. git commit -m "Set version: XXXXXX"]
  4. Login to crates.io with your Github username. If you are a new user, you'll need to login and go to https://crates.io/me to verify your email address, and generate a new token. You can then
  5. cargo login
  6. cargo publish. If it fails, you need to verify your email first, and/or be invited as an owner of the project to be able to publish.
  7. git tag vXXXXXX (mind the leading v)
  8. git push && git push --tags
Clone this wiki locally