Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
This guide covers how to release chroma to PyPi

#### Increase the version number
1. Create a new PR for the release that upgrades the version in code. Name it `release/A.B.C` In [this file](https://github.com/chroma-core/chroma/blob/main/chromadb/__init__.py) update the __ version __. The commit comment (and hence PR title) should be `[RELEASE] A.B.C`
1. Create a new PR for the release that upgrades the version in code. Name it `release/A.B.C`.
Update the Python package version in [chromadb/__init__.py](https://github.com/chroma-core/chroma/blob/main/chromadb/__init__.py) and the CLI crate version in `rust/cli/Cargo.toml`. The commit comment (and hence PR title) should be `[RELEASE] A.B.C`
```
__version__ = "A.B.C"
```
```
version = "A.B.C"
```
2. On Github, add the "release" label to this PR
3. Once the PR checks pass, merge it. This will trigger Github Actions to release to PyPi, DockerHub, and the JS client. It may take a while before they complete.
4. Once the PR is merged and the Github Actions complete, tag your commit SHA with the release version
Expand Down
2 changes: 1 addition & 1 deletion rust/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chroma-cli"
version = "1.4.3"
version = "1.5.7"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion rust/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ enum Command {

#[derive(Parser, Debug)]
#[command(name = "chroma")]
#[command(version = "1.4.3")]
#[command(version)]
#[command(about = "A CLI for Chroma", long_about = None)]
struct Cli {
#[command(subcommand)]
Expand Down