mirror of
https://github.com/yashshah9/agentbox.git
synced 2026-11-18 18:03:44 +00:00
Trusted-publishing workflow on release/workflow_dispatch, plus docs/PUBLISH.md.
839 B
839 B
Publishing to PyPI
API-token upload is currently blocked (old token 403). Prefer Trusted Publishing (OIDC).
One-time setup (per package on pypi.org)
For each project (duckcheck, embedsync, agentbox-sandbox, mcp-tool-evals, pytest-llm-vcr):
- PyPI → Project → Publishing → Add a new pending publisher
- Owner:
yashshah9 - Repo: matching GitHub repo name
- Workflow:
publish.yml - Environment:
pypi
Also create a GitHub Environment named pypi on each repo (Settings → Environments).
Publish a release
gh release create vX.Y.Z --generate-notes
# or: Actions → "Publish to PyPI" → Run workflow
Manual token upload (fallback)
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=pypi-... # fresh token
cd <repo> && python -m build && twine upload dist/*