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, v0.3.0rc1, v0.3.0.dev2, …) 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; keeps poetry-core as the build backend and injects the version in CI, so contributors' local builds are unaffected. Action refs pinned to commit SHAs (Node 24 releases). One-time setup: a PyPI Trusted Publisher on the pageindex project (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 | ||