These are instructions on how to conduct a release of the Helicone ai-gateway
- Create a release branch branch:
git checkout -b release/<version_tag>eggit checkout -b release/v0.2.0-beta.25
- Bump the version in the workspace
Cargo.toml- eg with sed:
sed -i '' "/^\[workspace\.package\]/,/^\[/ s/^version = \"[^\"]*\"/version = \"<version_tag>\"/" Cargo.toml - then ensure
Cargo.lockis updated as well:cargo c(or let rust analyzer do it)
- eg with sed:
- Generate the
CHANGELOG.mdupdates, eg:
git fetch --tags
# the tag argument here is the new version to be released
git cliff --unreleased --tag v0.2.0-beta.29 --prepend CHANGELOG.md
git add CHANGELOG.md Cargo.*- Commit the changes and create a PR on Github:
git commit -m "release: v<version_tag>"
git push
gh pr create
- Once the PR is merged in to
main, pull your changes and tag the commit and push that tag
git checkout main
git pull
git tag v<version_tag>
git push --tagsdone!