Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.81 KB

RELEASE.md

File metadata and controls

23 lines (18 loc) · 1.81 KB

Release procedure

The following list includes information how to release version vX.Y.Z of scylla-rust-driver

  1. Be a maintainer of this project with write rights to this repository and crates.io/crates/scylla
  2. Check out current main, e.g. git fetch; git checkout origin/main
  3. Run ./scripts/prepare-release.sh X.Y.Z this script will prepare a release commit with the version bumped in appropriate places and also create a local vX.Y.Z git tag; feel free to verify the commit with git log -p -1 after the script was executed successfully
  4. Push the commit to scylladb/scylla-rust-driver main branch, e.g. git push origin HEAD:refs/heads/main
  5. Push the newly created tag to scylladb/scylla-rust-driver, e.g. git push origin vX.Y.Z
  6. Write release notes. You can find an example here: https://groups.google.com/g/scylladb-users/c/uOfmdTeq6qM or here: https://github.com/scylladb/scylla-rust-driver/releases/tag/v0.5.0
  7. Go to https://github.com/scylladb/scylla-rust-driver/releases , click the Draft new release button and follow the procedure to create a new release on GitHub. Use the release notes as its description.
  8. Publish the crate(s) on crates.io. For scylla crate, go directly to the crate directory, i.e. /your/repo/path/scylla-rust-driver/scylla, and run cargo publish. It will ask you for an access token, follow the instructions if you haven't set one up.
  9. Send the release notes to scylladb-users (https://groups.google.com/g/scylladb-users) as well as Cassandra users (https://lists.apache.org/[email protected]) mailing lists.
  10. Publish the documentation for the new version. In docs/source/conf.py, update the following:
  • TAGS = [' '] - add the new release tag to the list
  • LATEST_VERSION = ' ' - replace the previous tag with the new release tag

You're done!