PageIndex/.github
mountain e048991914 ci: publish to PyPI on version tags
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
2026-07-08 17:46:09 +08:00
..
scripts Simplify root directory 2026-03-27 03:30:13 +08:00
workflows ci: publish to PyPI on version tags 2026-07-08 17:46:09 +08:00
dependabot.yml Add Dependabot config for GitHub Actions updates (#241) 2026-04-23 23:59:26 +08:00