mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2025-12-22 18:19:58 +00:00
1.2 KiB
1.2 KiB
Releasing a new Tantivy Version
Steps
- Identify new packages in workspace since last release
- Identify changed packages in workspace since last release
- Bump version in
Cargo.tomland their dependents for all changed packages - Update version of root
Cargo.toml - Publish version starting with leaf nodes
- Set git tag with new version
cargo-release will help us with steps 1-5:
Replace prev-tag-name
cargo release --workspace --no-publish -v --prev-tag-name 0.24 --push-remote origin minor --no-tag
no-tag or it will create tags for all the subpackages
cargo release will not ignore unchanged packages, but it will print warnings for them. e.g. "warning: updating ownedbytes to 0.10.0 despite no changes made since tag 0.24"
We need to manually ignore these unchanged packages
cargo release --workspace --no-publish -v --prev-tag-name 0.24 --push-remote origin minor --no-tag --exclude tokenizer-api
Add --execute to actually publish the packages, otherwise it will only print the commands that would be run.
Tag Version
git tag 0.25.0
git push upstream tag 0.25.0