- Update the version number in
pyproject.toml. Our current versioning uses thebforbeta, so a patch bump for0.4.0b0would go to0.4.1b0and a minor bump from0.4.1b0would go to0.5.0b0. - Update
CHANGELOG.mdwith the changes since the last release. Consider automating with a command such as these two:git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline > new-in-this-release.loggit log --pretty='%C(green)%d%Creset- %s | %an'
- If the upstream OpenTelemetry package versions have changed, update
README.mdwith new versions and links. - Commit changes, push, and open a release preparation pull request for review.
- Once the pull request is merged, fetch the updated
mainbranch. - Apply a tag for the new version on the merged commit (e.g.
git tag -a v2.3.1 -m "v2.3.1") - Push the tag upstream (this will kick off the release pipeline in CI) e.g.
git push origin v2.3.1 - Ensure that there is a draft GitHub release created as part of CI publish steps (this will also publish to PyPI).
- Click "generate release notes" in GitHub for full changelog notes and any new contributors
- Publish the github draft release - if it is a prerelease (e.g., beta) click the prerelease checkbox.
This repository was archived by the owner on Aug 13, 2025. It is now read-only.