mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-07-24 21:41:04 +02:00
Add .github/workflows/publish.yml: pushing a PEP 440 tag (v0.3.0.dev2, v0.3.0, v0.3.0rc1, …) derives the version from the tag, injects it into pyproject.toml, builds, publishes to PyPI via OIDC trusted publishing (no stored token), and creates a GitHub Release with generated notes. Mirrors the OpenKnowledgeBase publish flow, but keeps poetry-core as the build backend and injects the version in CI rather than switching to VCS-driven versioning, so contributors' local builds are unaffected. Requires one-time setup: a PyPI Trusted Publisher on the pageindex project (repo VectifyAI/PageIndex, workflow publish.yml, environment pypi) and a GitHub Environment named pypi. Claude-Session: https://claude.ai/code/session_01Kx5DgKbhK1N8autqXH8SmS |
||
|---|---|---|
| .. | ||
| scripts | ||
| workflows | ||
| dependabot.yml | ||