> ## Documentation Index
> Fetch the complete documentation index at: https://baseten-philip-copy-0226.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating a PyPi release

> Create a new version of Truss

<Note>
  You must be a repository admin to create a PyPi release or release candidate.
</Note>

To release a new version of the library.

1. Create a PR changing the `pyproject.toml` version
2. Merge the PR, github actions will auto deploy if it detects the change

Steps to release a new verison of Truss to PyPi:

1. Ensure that the version in `pyproject.toml` matches the version number that we want to release
2. Create a PR from `main` into `release`, [https://github.com/basetenlabs/truss/compare/release...main](https://github.com/basetenlabs/truss/compare/release...main)
3. After getting a review, merge the PR. After this, a new release will be created and automatically pushed to PyPi.
