Skip to content

How to Release

Will Jones edited this page Aug 4, 2023 · 15 revisions

How to Release

Bump the version

Go to the Make Release Commit action and choose "Run Workflow". Choose the appropriate version bump type and then run it.

Do this manually
  1. If not installed, run cargo install cargo-bump to install the cargo bump command.
  2. Run cargo bump patch (for patch releases) in BOTH /rust and /python directories.
  3. Create a new commit and tag it with the new version number
git commit -m 'Bump to v0.x.x'
git tag v0.x.x
  1. Push this to main
git push
git push origin v0.x.x

Wait for top of main to be green before moving on.

Create a release

  1. From Lance repo home, click on "Releases" -> "Draft a new release" -> "Choose a tag"
  2. Choose the newly created tag
  3. Click on "Generate release notes"
  4. Write up some highlights and click on "Publish release"

Publishing the release should automatically trigger GHA to publish all wheels to PyPI. These are Abi compatible from py38 so only one wheel is needed across multiple python versions

The release will also trigger automated release for Rust.

Clone this wiki locally