Upstream Source
This page is part of Truthound Orchestration 3.x.
Source repository: seadonggyun4/truthound-orchestration
Upstream docs path: docs/releasing.md
Edit upstream page: Edit in orchestration
Releasing¶
truthound-orchestration publishes from the GitHub Release Gate workflow and uploads the built truthound-foundation artifact to PyPI.
One-Time Setup¶
Before the first automated release, configure the repository secret:
- Secret name:
PYPI_API_TOKEN - Scope: repository secret on
seadonggyun4/truthound-orchestration - Value: the PyPI API token for the
truthound-orchestrationproject
The publish workflow fails fast with a clear error if this secret is missing.
Release Flow¶
- Ensure
mainis green. - Create and push a version tag such as
v3.0.1. - Let
Release Gaterun on the tag, or run it manually withpublish_release=true. - Verify that the nested
Publishworkflow finishes successfully.
Retry Behavior¶
The publish step uses twine upload --skip-existing.
That means a rerun is safe when:
- a previous attempt already uploaded one or more
3.x.yfiles - the release gate needs to be re-run after a transient GitHub or PyPI failure
PyPI still forbids replacing an existing file with different contents, so version numbers remain immutable.